Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001325, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2272/0.2272, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 82.12 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1157, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003878/0.1196, allocations: 2.088 MB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.1219, allocations: 1.328 MB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1221, allocations: 0 / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.1224, allocations: 67.59 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1226, allocations: 87.44 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.1233, allocations: 202.2 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005464/0.1238, allocations: 426.1 kB / 484.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.1239, allocations: 56.64 kB / 484.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.1242, allocations: 151.2 kB / 484.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.1245, allocations: 171.1 kB / 484.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.1245, allocations: 16 kB / 484.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005047/0.125, allocations: 271.6 kB / 485.1 MB, free: 260 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1251, allocations: 75.61 kB / 485.1 MB, free: 184 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.1253, allocations: 170.8 kB / 485.3 MB, free: 12 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.1261, allocations: 0.5179 MB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1261, allocations: 0 / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.1261, allocations: 3.984 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.1261, allocations: 0 / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001263/0.1274, allocations: 0.7175 MB / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1274, allocations: 12.03 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.1275, allocations: 78.72 kB / 486.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004057/0.1279, allocations: 76.33 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.1283, allocations: 288.3 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.1284, allocations: 33 kB / 487 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.1285, allocations: 36 kB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009234/0.1294, allocations: 0.5573 MB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1294, allocations: 0 / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.1294, allocations: 16 kB / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.1295, allocations: 17 kB / 487.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008582/0.1304, allocations: 415.6 kB / 488 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.1323, allocations: 1.285 MB / 489.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.1329, allocations: 275.6 kB / 489.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.1333, allocations: 142.5 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.1334, allocations: 11.97 kB / 489.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1334, allocations: 34.56 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.933e-06/0.1334, allocations: 0 / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001273/0.1347, allocations: 472.6 kB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.1348, allocations: 102.8 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/0.1354, allocations: 0.494 MB / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.1354, allocations: 29.95 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.1356, allocations: 216.2 kB / 491.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.1357, allocations: 63.08 kB / 491.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1358, allocations: 61.7 kB / 491.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.136, allocations: 350.8 kB / 491.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.1364, allocations: 132.1 kB / 491.7 MB, free: 9.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.1368, allocations: 214.6 kB / 491.9 MB, free: 9.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008417/0.1377, allocations: 368.2 kB / 492.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1377, allocations: 0 / 492.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009806/0.1387, allocations: 416.6 kB / 492.7 MB, free: 8.297 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1387, allocations: 11.94 kB / 492.7 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.141e-05/0.1388, allocations: 35.98 kB / 492.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.1388, allocations: 4 kB / 492.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.1391, allocations: 36.25 kB / 492.7 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1391, allocations: 4 kB / 492.7 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.1394, allocations: 59.41 kB / 492.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.1394, allocations: 20 kB / 492.8 MB, free: 8.129 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.1397, allocations: 205.7 kB / 493 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1398, allocations: 39.47 kB / 493.1 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008968/0.1407, allocations: 399.3 kB / 493.4 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.1407, allocations: 4 kB / 493.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1407, allocations: 0 / 493.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1407, allocations: 7.938 kB / 493.5 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.1414, allocations: 365.3 kB / 493.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-05/0.1414, allocations: 35.98 kB / 493.9 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.1416, allocations: 31.91 kB / 493.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1416, allocations: 3.938 kB / 493.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.1416, allocations: 12 kB / 493.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1416, allocations: 0 / 493.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.892e-06/0.1416, allocations: 7.984 kB / 493.9 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009169/0.1426, allocations: 0.5779 MB / 494.5 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1427, allocations: 124.5 kB / 494.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.1428, allocations: 0 / 494.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.143, allocations: 19.98 kB / 494.6 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.1431, allocations: 27.91 kB / 494.7 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.1432, allocations: 8 kB / 494.7 MB, free: 6.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004248/0.1436, allocations: 367 kB / 495 MB, free: 5.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1436, allocations: 0 / 495 MB, free: 5.828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005764/0.1442, allocations: 119.9 kB / 495.1 MB, free: 5.711 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001501/0.1457, allocations: 1.191 MB / 496.3 MB, free: 4.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.1467, allocations: 0.5536 MB / 496.9 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1467, allocations: 0 / 496.9 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005282/0.1473, allocations: 387.1 kB / 497.3 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.148, allocations: 98.78 kB / 497.4 MB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006875/0.1549, allocations: 4.749 MB / 0.4903 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/0.1554, allocations: 0.8497 MB / 0.4912 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.1557, allocations: 63.23 kB / 0.4912 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.1558, allocations: 111.4 kB / 0.4913 GB, free: 13.4 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1558, allocations: 0 / 0.4913 GB, free: 13.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0379/0.1937, allocations: 11.79 MB / 0.5029 GB, free: 1.816 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.283, allocations: 12.7 kB / 0.5029 GB, free: 1.801 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1)