Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009128/0.0009124, allocations: 99.41 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009652/0.0009652, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 45.91 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.000272, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1585, allocations: 63.46 MB / 481.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003104/0.1617, allocations: 1.647 MB / 483.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.164, allocations: 1.014 MB / 484.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1641, allocations: 3.938 kB / 484.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.1644, allocations: 43.8 kB / 484.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.1646, allocations: 51.83 kB / 484.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.1652, allocations: 135.6 kB / 484.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.1656, allocations: 207.5 kB / 484.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1657, allocations: 40.7 kB / 484.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.166, allocations: 99.56 kB / 484.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.1662, allocations: 119.5 kB / 484.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.1662, allocations: 8 kB / 484.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.1667, allocations: 195.8 kB / 485.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.1669, allocations: 59.73 kB / 485.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.327e-05/0.167, allocations: 69.58 kB / 485.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.1674, allocations: 259.6 kB / 485.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1674, allocations: 4 kB / 485.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1674, allocations: 0 / 485.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1674, allocations: 0 / 485.5 MB, free: 1.309 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001291/0.1687, allocations: 0.5962 MB / 486.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.1688, allocations: 8.031 kB / 486.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.1689, allocations: 66.53 kB / 486.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005427/0.1695, allocations: 79.59 kB / 486.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.1699, allocations: 263 kB / 486.5 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.1699, allocations: 16.56 kB / 486.5 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.17, allocations: 28 kB / 486.5 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.171, allocations: 434 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1711, allocations: 0 / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.1711, allocations: 12 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/0.1712, allocations: 16.55 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.1723, allocations: 345.9 kB / 487.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.1745, allocations: 1.112 MB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008108/0.1754, allocations: 259.7 kB / 488.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.001e-05/0.1755, allocations: 11.97 kB / 488.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.1755, allocations: 38.59 kB / 488.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.405e-06/0.1755, allocations: 0 / 488.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001808/0.1774, allocations: 0.6219 MB / 489.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.1775, allocations: 106.9 kB / 489.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/0.1782, allocations: 405.4 kB / 489.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.1783, allocations: 29.7 kB / 489.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.1785, allocations: 179.9 kB / 490 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.5e-05/0.1786, allocations: 59.25 kB / 490.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.1786, allocations: 4 kB / 490.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.1789, allocations: 346.8 kB / 490.4 MB, free: 12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.1794, allocations: 136 kB / 490.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/0.18, allocations: 235.8 kB / 490.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.1805, allocations: 159.8 kB / 491 MB, free: 11.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1805, allocations: 4 kB / 491 MB, free: 11.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001268/0.1818, allocations: 425 kB / 491.4 MB, free: 11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.1818, allocations: 4 kB / 491.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.923e-05/0.1819, allocations: 23.98 kB / 491.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.182, allocations: 7.938 kB / 491.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.1823, allocations: 64.11 kB / 491.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.1824, allocations: 7.938 kB / 491.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.1828, allocations: 59.52 kB / 491.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.1829, allocations: 19.98 kB / 491.6 MB, free: 10.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002929/0.1832, allocations: 185.2 kB / 491.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.1833, allocations: 27.62 kB / 491.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008943/0.1842, allocations: 292.2 kB / 492.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.1843, allocations: 4 kB / 492.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1843, allocations: 0 / 492.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1843, allocations: 7.984 kB / 492.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006865/0.185, allocations: 309.3 kB / 492.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-05/0.1851, allocations: 19.98 kB / 492.4 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.1853, allocations: 35.91 kB / 492.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1853, allocations: 4 kB / 492.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.1853, allocations: 7.984 kB / 492.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1853, allocations: 4 kB / 492.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1854, allocations: 0 / 492.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.1865, allocations: 0.5477 MB / 493 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.1866, allocations: 108.7 kB / 493.1 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/0.1867, allocations: 11.94 kB / 493.1 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.1871, allocations: 23.97 kB / 493.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.1872, allocations: 15.98 kB / 493.1 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.1873, allocations: 11.98 kB / 493.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004025/0.1877, allocations: 287.1 kB / 493.4 MB, free: 8.824 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1877, allocations: 0 / 493.4 MB, free: 8.824 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007999/0.1885, allocations: 99.89 kB / 493.5 MB, free: 8.727 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001728/0.1902, allocations: 1.273 MB / 494.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.1915, allocations: 454 kB / 495.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1915, allocations: 0 / 495.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000572/0.1921, allocations: 290.9 kB / 495.5 MB, free: 6.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007325/0.1928, allocations: 73.45 kB / 495.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006395/0.1992, allocations: 4.716 MB / 0.4886 GB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.1998, allocations: 0.8067 MB / 0.4894 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000328/0.2002, allocations: 58.94 kB / 0.4894 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.2003, allocations: 79.41 kB / 0.4895 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of SimCode: time 1.663e-06/0.2004, allocations: 0 / 0.4895 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.2285, allocations: 8.224 MB / 0.4975 GB, free: 8.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/0.2288, allocations: 221 kB / 0.4978 GB, free: 8.512 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.166, allocations: 4.062 kB / 0.4978 GB, free: 8.508 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat