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.HelicalPipe.kc_overall.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.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001642/0.001642, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2316/0.2316, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002197/0.002197, allocations: 78.53 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1244, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.004031/0.1285, allocations: 2.145 MB / 482.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.132, allocations: 2.153 MB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1321, allocations: 4 kB / 484.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1325, allocations: 59.59 kB / 484.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.1328, allocations: 107.4 kB / 484.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.134, allocations: 433.3 kB / 485.1 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.1345, allocations: 461.9 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1346, allocations: 44.72 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.1349, allocations: 171 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.1352, allocations: 195.1 kB / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.1353, allocations: 12 kB / 486 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.1363, allocations: 0.6161 MB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.1365, allocations: 115.5 kB / 486.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.1367, allocations: 178.8 kB / 486.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1377, allocations: 0.7128 MB / 487.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1377, allocations: 4 kB / 487.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1377, allocations: 0 / 487.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1377, allocations: 4 kB / 487.6 MB, free: 13.74 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001461/0.1392, allocations: 0.7508 MB / 488.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1392, allocations: 12.03 kB / 488.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.74e-05/0.1394, allocations: 82.72 kB / 488.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004192/0.1398, allocations: 80.33 kB / 488.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.1402, allocations: 320.3 kB / 488.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.1403, allocations: 33.31 kB / 488.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.1403, allocations: 36.38 kB / 488.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009539/0.1413, allocations: 0.5779 MB / 489.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1413, allocations: 0 / 489.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.1414, allocations: 16 kB / 489.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.1414, allocations: 28.92 kB / 489.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.1423, allocations: 423.6 kB / 489.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.1442, allocations: 1.398 MB / 491.3 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/0.1448, allocations: 271.6 kB / 491.6 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.1451, allocations: 138.5 kB / 491.7 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.1452, allocations: 4 kB / 491.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1452, allocations: 34.56 kB / 491.8 MB, free: 9.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.1452, allocations: 0 / 491.8 MB, free: 9.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001225/0.1465, allocations: 468.8 kB / 492.2 MB, free: 8.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.1465, allocations: 106.8 kB / 492.3 MB, free: 8.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006747/0.1472, allocations: 0.5408 MB / 492.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1473, allocations: 33.7 kB / 492.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.1475, allocations: 212.2 kB / 493.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.1475, allocations: 63.34 kB / 493.2 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1476, allocations: 53.61 kB / 493.2 MB, free: 7.828 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1478, allocations: 354.8 kB / 493.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.1482, allocations: 127.9 kB / 493.7 MB, free: 7.348 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.1486, allocations: 177 kB / 493.9 MB, free: 7.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/0.1492, allocations: 303.7 kB / 494.2 MB, free: 6.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1493, allocations: 3.938 kB / 494.2 MB, free: 6.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008379/0.1501, allocations: 380.8 kB / 494.6 MB, free: 6.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1501, allocations: 11.94 kB / 494.6 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.857e-05/0.1502, allocations: 28 kB / 494.6 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1502, allocations: 4 kB / 494.6 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.1504, allocations: 31.95 kB / 494.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1505, allocations: 4 kB / 494.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.1507, allocations: 55.42 kB / 494.7 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.1508, allocations: 20.08 kB / 494.7 MB, free: 6.309 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * 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.0002074/0.151, allocations: 193.6 kB / 494.9 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.1511, allocations: 47.38 kB / 494.9 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007766/0.1519, allocations: 380.9 kB / 495.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.1519, allocations: 4 kB / 495.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1519, allocations: 4 kB / 495.3 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1519, allocations: 0 / 495.3 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.1525, allocations: 373.3 kB / 495.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.876e-05/0.1526, allocations: 31.98 kB / 495.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.1527, allocations: 27.91 kB / 495.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1527, allocations: 0 / 495.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.1528, allocations: 12 kB / 495.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1528, allocations: 0 / 495.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1528, allocations: 7.938 kB / 495.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008666/0.1537, allocations: 0.5782 MB / 496.3 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.1539, allocations: 156.5 kB / 496.5 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/0.1539, allocations: 4 kB / 496.5 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.1543, allocations: 23.97 kB / 496.5 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.1543, allocations: 19.98 kB / 496.5 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.1544, allocations: 8 kB / 496.5 MB, free: 4.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004749/0.1548, allocations: 415 kB / 497 MB, free: 3.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1549, allocations: 0 / 497 MB, free: 3.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005721/0.1554, allocations: 155.8 kB / 497.1 MB, free: 3.809 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.001493/0.1569, allocations: 1.255 MB / 498.4 MB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009428/0.1579, allocations: 0.5341 MB / 498.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1579, allocations: 0 / 498.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005042/0.1584, allocations: 387.4 kB / 499.3 MB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006829/0.1591, allocations: 93.84 kB / 499.4 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007321/0.1664, allocations: 5.03 MB / 0.4926 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.167, allocations: 0.8653 MB / 0.4934 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.1672, allocations: 67.19 kB / 0.4935 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.1674, allocations: 115.4 kB / 0.4936 GB, free: 11.19 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1674, allocations: 0 / 0.4936 GB, free: 11.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.215/0.3824, allocations: 13.09 MB / 0.5064 GB, free: 42.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/8.547, allocations: 6.188 kB / 0.5064 GB, free: 42.54 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1)