Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 98.47 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2538/0.2538, allocations: 44.23 MB / 337.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003537, allocations: 11.12 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1423, allocations: 61.94 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002547/0.1449, allocations: 1.742 MB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1467, allocations: 1.06 MB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/0.1468, allocations: 0 / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.147, allocations: 51.73 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1473, allocations: 91.48 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.1477, allocations: 127.5 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005705/0.1482, allocations: 477.9 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.714e-05/0.1483, allocations: 44.7 kB / 475.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.1486, allocations: 147.3 kB / 475.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.1488, allocations: 187.1 kB / 475.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.1488, allocations: 8 kB / 475.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.1492, allocations: 199.7 kB / 475.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.1493, allocations: 87.58 kB / 475.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.1494, allocations: 85.45 kB / 476 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.1498, allocations: 343.2 kB / 476.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1498, allocations: 0 / 476.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1498, allocations: 3.984 kB / 476.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1498, allocations: 0 / 476.3 MB, free: 8.961 MB / 350.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.001137/0.151, allocations: 0.6473 MB / 476.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.151, allocations: 12.56 kB / 477 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.1511, allocations: 86.52 kB / 477 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.1512, allocations: 47.44 kB / 477.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1516, allocations: 278.3 kB / 477.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.1516, allocations: 29 kB / 477.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.1517, allocations: 39.95 kB / 477.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009625/0.1526, allocations: 0.5855 MB / 478 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.1527, allocations: 7.938 kB / 478 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.1527, allocations: 12 kB / 478 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.1528, allocations: 21 kB / 478.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/0.1536, allocations: 451.5 kB / 478.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.1554, allocations: 1.375 MB / 479.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.1561, allocations: 283.6 kB / 480.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.1564, allocations: 142.5 kB / 480.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.25e-05/0.1565, allocations: 23.92 kB / 480.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.1567, allocations: 42.55 kB / 480.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.094e-06/0.1567, allocations: 0 / 480.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00134/0.158, allocations: 492 kB / 480.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.1581, allocations: 102.8 kB / 480.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/0.1587, allocations: 0.5017 MB / 481.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.1588, allocations: 25.7 kB / 481.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.159, allocations: 208.2 kB / 481.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.159, allocations: 55.2 kB / 481.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/0.1591, allocations: 4.031 kB / 481.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1592, allocations: 354.8 kB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.1596, allocations: 136 kB / 482.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.1599, allocations: 185.3 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.1603, allocations: 155.9 kB / 482.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1603, allocations: 0 / 482.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008513/0.1612, allocations: 400.8 kB / 482.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.1612, allocations: 8 kB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-05/0.1613, allocations: 24 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1613, allocations: 4 kB / 483 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.1615, allocations: 48.08 kB / 483 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001417/0.1617, allocations: 3.938 kB / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.1619, allocations: 67.36 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.162, allocations: 15.98 kB / 483.1 MB, free: 1.859 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.1622, allocations: 189.7 kB / 483.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-05/0.1623, allocations: 39.53 kB / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008095/0.1631, allocations: 396.6 kB / 483.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.1632, allocations: 7.984 kB / 483.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1632, allocations: 0 / 483.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1632, allocations: 4 kB / 483.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.1638, allocations: 369.3 kB / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.913e-05/0.1638, allocations: 27.98 kB / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.164, allocations: 27.97 kB / 484.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.164, allocations: 4 kB / 484.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.164, allocations: 8 kB / 484.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.164, allocations: 4 kB / 484.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1641, allocations: 4 kB / 484.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/0.1649, allocations: 0.5982 MB / 484.7 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.1651, allocations: 124.5 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.918e-05/0.1652, allocations: 8 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.1655, allocations: 27.97 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.1655, allocations: 15.98 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.1656, allocations: 12 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004931/0.1661, allocations: 371 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1661, allocations: 0 / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005299/0.1666, allocations: 115.9 kB / 485.4 MB, free: 15.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001549/0.1682, allocations: 1.196 MB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008796/0.1691, allocations: 0.5419 MB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1691, allocations: 320 / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.1696, allocations: 399.2 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.1703, allocations: 97.55 kB / 487.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.1749, allocations: 2.849 MB / 490.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.1754, allocations: 0.8538 MB / 491.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.1756, allocations: 59.25 kB / 491.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.1758, allocations: 107.4 kB / 491.5 MB, free: 9.113 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1758, allocations: 4 kB / 491.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.205, allocations: 10.39 MB / 0.4901 GB, free: 15 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000318/0.2054, allocations: 230.3 kB / 0.4903 GB, free: 14.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/2.299, allocations: 0 / 0.4903 GB, free: 14.75 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat