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_overall.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_overall,fileNamePrefix="ModelicaTest_4_0_0_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_0_0_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 4.0.0+maint.om/package.mo): time 0.0009065/0.0009066, allocations: 93.98 kB / 16.98 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.0008738/0.0008739, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.38/1.38, 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.2215/0.2215, allocations: 44.23 MB / 337.1 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 12 kB / 409.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 61.92 MB / 471.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.002219/0.1565, allocations: 1.718 MB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.159, allocations: 1.785 MB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.1591, allocations: 4 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.1593, allocations: 47.78 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.1595, allocations: 83.72 kB / 475.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007448/0.1603, allocations: 351 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.1606, allocations: 295.3 kB / 475.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.1607, allocations: 48.7 kB / 475.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.1609, allocations: 143.3 kB / 476 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.1611, allocations: 163.3 kB / 476.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.1612, allocations: 12 kB / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008267/0.162, allocations: 0.589 MB / 476.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1621, allocations: 99.67 kB / 476.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.156e-05/0.1622, allocations: 85.45 kB / 477 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004939/0.1627, allocations: 435.2 kB / 477.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1627, allocations: 0 / 477.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1627, allocations: 0 / 477.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1627, allocations: 4 kB / 477.4 MB, free: 7.734 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.001215/0.164, allocations: 0.7057 MB / 478.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.164, allocations: 8.562 kB / 478.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.203e-05/0.1641, allocations: 90.44 kB / 478.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.1642, allocations: 43.44 kB / 478.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.1646, allocations: 303.4 kB / 478.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.1646, allocations: 29 kB / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.1647, allocations: 43.95 kB / 478.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008863/0.1656, allocations: 0.5778 MB / 479.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1656, allocations: 3.938 kB / 479.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.1657, allocations: 20 kB / 479.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.1657, allocations: 21 kB / 479.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008021/0.1665, allocations: 451.5 kB / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.1683, allocations: 1.402 MB / 481.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.1688, allocations: 287.5 kB / 481.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.1689, allocations: 11.95 kB / 481.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1689, allocations: 38.56 kB / 481.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 3.126e-06/0.169, allocations: 0 / 481.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001336/0.1703, allocations: 0.715 MB / 482.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.1704, allocations: 114.9 kB / 482.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006363/0.171, allocations: 0.533 MB / 482.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.171, allocations: 29.7 kB / 482.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.1712, allocations: 212.2 kB / 483 MB, free: 1.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.1713, allocations: 63.17 kB / 483 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.1713, allocations: 0 / 483 MB, free: 1.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.1715, allocations: 358.9 kB / 483.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.1718, allocations: 151.9 kB / 483.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.1722, allocations: 182.8 kB / 483.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.1726, allocations: 154.4 kB / 483.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1726, allocations: 0 / 483.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008232/0.1734, allocations: 404.9 kB / 484.3 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1734, allocations: 8 kB / 484.3 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-05/0.1735, allocations: 27.97 kB / 484.3 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1735, allocations: 4 kB / 484.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1737, allocations: 39.97 kB / 484.4 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1738, allocations: 0 / 484.4 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.1741, allocations: 71.38 kB / 484.4 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.1741, allocations: 12 kB / 484.4 MB, free: 336 kB / 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.0002145/0.1743, allocations: 189.7 kB / 484.6 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.369e-05/0.1744, allocations: 39.53 kB / 484.7 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008289/0.1753, allocations: 400.8 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1753, allocations: 8 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1753, allocations: 0 / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1753, allocations: 3.984 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005785/0.1759, allocations: 377.2 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.594e-05/0.176, allocations: 27.97 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1761, allocations: 35.97 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1761, allocations: 0 / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.1762, allocations: 12 kB / 485.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1762, allocations: 0 / 485.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1762, allocations: 7.922 kB / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009782/0.1772, allocations: 0.626 MB / 486.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.1774, allocations: 164.5 kB / 486.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.1775, allocations: 3.984 kB / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.1778, allocations: 31.98 kB / 486.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.1779, allocations: 15.97 kB / 486.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.1779, allocations: 11.94 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004597/0.1784, allocations: 415 kB / 486.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1784, allocations: 0 / 486.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006497/0.179, allocations: 147.9 kB / 486.9 MB, free: 13.74 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.001498/0.1805, allocations: 1.426 MB / 488.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008993/0.1814, allocations: 0.5422 MB / 488.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1815, allocations: 0 / 488.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005139/0.182, allocations: 399.2 kB / 489.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.1825, allocations: 93.78 kB / 489.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.1877, allocations: 3.769 MB / 493.1 MB, free: 7.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.1883, allocations: 0.8616 MB / 494 MB, free: 6.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.1885, allocations: 67.23 kB / 494.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.1887, allocations: 119.4 kB / 494.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of SimCode: time 1.233e-06/0.1887, allocations: 0 / 494.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.2158, allocations: 11.99 MB / 0.4943 GB, free: 10.5 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/0.2161, allocations: 214 kB / 0.4945 GB, free: 10.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.148, allocations: 3.094 kB / 0.4945 GB, free: 10.27 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.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_overall_res.mat does not exist to compare? outputFormat=mat