Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",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.0007912/0.0007913, allocations: 97.88 kB / 17.01 MB, free: 6.402 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.001012/0.001013, 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.435/1.435, allocations: 223.3 MB / 241.9 MB, free: 316 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.2501/0.2501, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 12.22 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1558, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002795/0.1587, allocations: 1.544 MB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1603, allocations: 0.7212 MB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.1604, allocations: 7.938 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.1606, allocations: 39.81 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.161, allocations: 75.64 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1613, allocations: 75.53 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.1618, allocations: 302.7 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.454e-05/0.1619, allocations: 24.39 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.1621, allocations: 103.6 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.1623, allocations: 123.5 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.1624, allocations: 4 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.1627, allocations: 111.8 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.1628, allocations: 63.73 kB / 474.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.402e-05/0.1629, allocations: 65.52 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.1632, allocations: 207.6 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1632, allocations: 3.938 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1633, allocations: 0 / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1633, allocations: 4 kB / 475.1 MB, free: 10.14 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001005/0.1643, allocations: 0.5167 MB / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1644, allocations: 8.031 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.794e-05/0.1645, allocations: 66.53 kB / 475.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.951e-05/0.1645, allocations: 27.62 kB / 475.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1649, allocations: 238.6 kB / 476 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.1649, allocations: 24.55 kB / 476 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.165, allocations: 24 kB / 476 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008803/0.1659, allocations: 381.2 kB / 476.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1659, allocations: 0 / 476.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.166, allocations: 16 kB / 476.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-05/0.1661, allocations: 28.62 kB / 476.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00091/0.167, allocations: 386.2 kB / 476.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.1688, allocations: 0.8346 MB / 477.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007141/0.1695, allocations: 258.3 kB / 477.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.1698, allocations: 104.8 kB / 478 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.1699, allocations: 11.98 kB / 478 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.17, allocations: 34.56 kB / 478 MB, free: 7.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.17, allocations: 0 / 478 MB, free: 7.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00113/0.1711, allocations: 353.1 kB / 478.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.1712, allocations: 51.41 kB / 478.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.1717, allocations: 342.9 kB / 478.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.1717, allocations: 25.7 kB / 478.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1719, allocations: 164 kB / 479 MB, free: 6.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.834e-05/0.172, allocations: 55.2 kB / 479 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.172, allocations: 4 kB / 479 MB, free: 6.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1722, allocations: 342.8 kB / 479.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.1725, allocations: 104.3 kB / 479.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.173, allocations: 196 kB / 479.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.1734, allocations: 138.6 kB / 479.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1734, allocations: 0 / 479.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000703/0.1741, allocations: 352.8 kB / 480.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1741, allocations: 8 kB / 480.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1742, allocations: 4 kB / 480.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1742, allocations: 8.328 kB / 480.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.1747, allocations: 123.9 kB / 480.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.1766, allocations: 3.657 MB / 483.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.1768, allocations: 47.52 kB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.1769, allocations: 12 kB / 484 MB, free: 0.8672 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.1771, allocations: 178.2 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.1772, allocations: 27.62 kB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007032/0.1779, allocations: 335.8 kB / 484.5 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.1779, allocations: 7.953 kB / 484.5 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1779, allocations: 0 / 484.5 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1779, allocations: 0 / 484.5 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.1783, allocations: 305.3 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1783, allocations: 0 / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.1788, allocations: 111.9 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1788, allocations: 0 / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1788, allocations: 8 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.1807, allocations: 3.649 MB / 488.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1807, allocations: 0 / 488.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.1812, allocations: 362.4 kB / 488.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.1813, allocations: 104.8 kB / 489 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.1814, allocations: 3.984 kB / 489 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1815, allocations: 12 kB / 489.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.1816, allocations: 23.92 kB / 489.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1816, allocations: 8 kB / 489.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.1819, allocations: 241.9 kB / 489.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1819, allocations: 4 kB / 489.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.1823, allocations: 71.91 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008544/0.1831, allocations: 0.915 MB / 490.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008374/0.184, allocations: 332.2 kB / 490.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.184, allocations: 4 kB / 490.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.1845, allocations: 199 kB / 490.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.185, allocations: 68.73 kB / 490.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.1879, allocations: 1.944 MB / 492.8 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.1883, allocations: 0.7912 MB / 493.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002476/0.1886, allocations: 82.88 kB / 493.7 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.1887, allocations: 75.41 kB / 493.8 MB, free: 6.676 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1887, allocations: 0 / 493.8 MB, free: 6.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.2093, allocations: 7.776 MB / 0.4898 GB, free: 15.2 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.2096, allocations: 255.7 kB / 0.4901 GB, free: 14.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/2.324, allocations: 2.812 kB / 0.4901 GB, free: 14.85 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat