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_laminar.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_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",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.001025/0.001025, allocations: 95.48 kB / 16.99 MB, free: 5.938 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.001094/0.001094, allocations: 180.8 kB / 17.87 MB, free: 5.609 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.386/1.386, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2134/0.2134, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 61.91 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002354/0.1469, allocations: 1.71 MB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.1485, allocations: 1.068 MB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.1486, allocations: 4 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1488, allocations: 51.67 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.149, allocations: 67.8 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.1495, allocations: 155.6 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.1498, allocations: 291.3 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.15, allocations: 44.72 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.1502, allocations: 135.4 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.1504, allocations: 159.3 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.1505, allocations: 12 kB / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.1509, allocations: 255.7 kB / 475.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.151, allocations: 79.72 kB / 475.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.1511, allocations: 81.45 kB / 475.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.1515, allocations: 335.4 kB / 476 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1516, allocations: 4 kB / 476 MB, free: 9.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1516, allocations: 0 / 476 MB, free: 9.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1516, allocations: 0 / 476 MB, free: 9.168 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.001183/0.1528, allocations: 0.655 MB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.1528, allocations: 8.562 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.923e-05/0.1529, allocations: 82.52 kB / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.82e-05/0.153, allocations: 51.44 kB / 476.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.1535, allocations: 274.3 kB / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.1535, allocations: 32.98 kB / 477.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.1536, allocations: 39.95 kB / 477.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/0.1545, allocations: 0.5816 MB / 477.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1545, allocations: 3.984 kB / 477.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.1545, allocations: 16 kB / 477.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.919e-05/0.1546, allocations: 21 kB / 477.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.1554, allocations: 451.5 kB / 478.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.1572, allocations: 1.394 MB / 479.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/0.1578, allocations: 283.6 kB / 479.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-05/0.1579, allocations: 15.92 kB / 479.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.1579, allocations: 38.56 kB / 479.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.1579, allocations: 0 / 479.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001289/0.1592, allocations: 0.7146 MB / 480.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.1593, allocations: 110.8 kB / 480.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000557/0.1598, allocations: 0.4978 MB / 481.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.1599, allocations: 29.7 kB / 481.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.16, allocations: 204.2 kB / 481.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.1601, allocations: 55.2 kB / 481.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.1601, allocations: 4 kB / 481.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1602, allocations: 354.8 kB / 481.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.1606, allocations: 140 kB / 482 MB, free: 2.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.1609, allocations: 183.7 kB / 482.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.1612, allocations: 151.9 kB / 482.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1612, allocations: 0 / 482.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007912/0.162, allocations: 400.8 kB / 482.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1621, allocations: 4 kB / 482.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-05/0.1621, allocations: 31.97 kB / 482.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1622, allocations: 0 / 482.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.1624, allocations: 48.06 kB / 482.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.1624, allocations: 4 kB / 482.8 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.1626, allocations: 59.41 kB / 482.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.1627, allocations: 16 kB / 482.9 MB, free: 1.926 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.000202/0.1629, allocations: 189.7 kB / 483.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.163, allocations: 39.52 kB / 483.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007486/0.1638, allocations: 400.5 kB / 483.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.1638, allocations: 8 kB / 483.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1638, allocations: 0 / 483.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1638, allocations: 0 / 483.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.1643, allocations: 369.2 kB / 483.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-05/0.1644, allocations: 31.97 kB / 483.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1646, allocations: 35.91 kB / 483.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1646, allocations: 0 / 483.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.1646, allocations: 15.98 kB / 483.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1646, allocations: 4 kB / 483.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1646, allocations: 0 / 483.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/0.1655, allocations: 0.6182 MB / 484.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1656, allocations: 116.6 kB / 484.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.1657, allocations: 8 kB / 484.7 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.166, allocations: 19.98 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.1661, allocations: 27.91 kB / 484.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.1661, allocations: 11.98 kB / 484.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004/0.1665, allocations: 371.1 kB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1665, allocations: 0 / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005145/0.167, allocations: 119.9 kB / 485.2 MB, free: 15.46 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.001341/0.1684, allocations: 1.361 MB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008308/0.1692, allocations: 0.5382 MB / 487.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1693, allocations: 0 / 487.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004599/0.1697, allocations: 407.2 kB / 487.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.1702, allocations: 85.41 kB / 487.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.1749, allocations: 3.549 MB / 491.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.1753, allocations: 0.8539 MB / 492 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.1755, allocations: 63.23 kB / 492.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.1757, allocations: 107.4 kB / 492.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1757, allocations: 4 kB / 492.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.1981, allocations: 10.35 MB / 0.4907 GB, free: 14.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.1983, allocations: 214 kB / 0.4909 GB, free: 13.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.217, allocations: 4.062 kB / 0.491 GB, free: 13.94 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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_laminar_res.mat does not exist to compare? outputFormat=mat