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.001177/0.001182, allocations: 93.72 kB / 16.98 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.001397/0.001397, allocations: 182.2 kB / 17.87 MB, free: 5.598 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.428/1.428, allocations: 223.2 MB / 241.8 MB, free: 404 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.228/0.228, allocations: 44.23 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003217, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1544, allocations: 61.93 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002201/0.1566, allocations: 1.513 MB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1578, allocations: 0.7019 MB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.1578, allocations: 0 / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.1581, allocations: 47.78 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.1583, allocations: 59.77 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1585, allocations: 67.36 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1588, allocations: 163.6 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.1588, allocations: 28.39 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.159, allocations: 87.56 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1591, allocations: 87.61 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1592, allocations: 4 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.1594, allocations: 115.9 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.706e-05/0.1595, allocations: 55.81 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.1595, allocations: 69.52 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1598, allocations: 187.8 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1598, allocations: 0 / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1598, allocations: 0 / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1598, allocations: 4 kB / 474.7 MB, free: 10.46 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.0007558/0.1606, allocations: 0.5067 MB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1606, allocations: 12.03 kB / 475.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.488e-05/0.1607, allocations: 66.52 kB / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.1608, allocations: 31.62 kB / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.1611, allocations: 234.6 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1611, allocations: 20.56 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.1611, allocations: 27.98 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.1617, allocations: 373.3 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1617, allocations: 3.984 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.1618, allocations: 8 kB / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-05/0.1618, allocations: 32.58 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005943/0.1624, allocations: 386.2 kB / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.1637, allocations: 0.8541 MB / 477.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.1642, allocations: 258.3 kB / 477.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1642, allocations: 4.062 kB / 477.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1643, allocations: 38.5 kB / 477.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.1643, allocations: 4 kB / 477.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007381/0.165, allocations: 345.4 kB / 477.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.1651, allocations: 63.39 kB / 478 MB, free: 7.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.1654, allocations: 331 kB / 478.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.1655, allocations: 25.7 kB / 478.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1656, allocations: 175.9 kB / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.1657, allocations: 55.2 kB / 478.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.1657, allocations: 4 kB / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1658, allocations: 334.8 kB / 478.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.166, allocations: 108.4 kB / 479 MB, free: 5.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.1663, allocations: 199.9 kB / 479.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.1666, allocations: 127.9 kB / 479.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1666, allocations: 0 / 479.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005855/0.1672, allocations: 359.1 kB / 479.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1672, allocations: 4 kB / 479.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1672, allocations: 4 kB / 479.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1672, allocations: 4 kB / 479.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.1678, allocations: 127.8 kB / 479.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.1698, allocations: 3.645 MB / 483.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.17, allocations: 47.83 kB / 483.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.1701, allocations: 16 kB / 483.5 MB, free: 1.297 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.0002348/0.1703, allocations: 174.2 kB / 483.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.1704, allocations: 31.56 kB / 483.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006896/0.1711, allocations: 339.6 kB / 484 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1711, allocations: 3.953 kB / 484 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1711, allocations: 0 / 484 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.1711, allocations: 11.98 kB / 484 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.1715, allocations: 297.3 kB / 484.3 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1715, allocations: 0 / 484.3 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.172, allocations: 111.8 kB / 484.4 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.172, allocations: 7.938 kB / 484.4 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.172, allocations: 0 / 484.4 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.1739, allocations: 3.657 MB / 488.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1739, allocations: 4.031 kB / 488.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.1744, allocations: 354.4 kB / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.1745, allocations: 100.8 kB / 488.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.1746, allocations: 8 kB / 488.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.1747, allocations: 7.984 kB / 488.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.1748, allocations: 27.86 kB / 488.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1748, allocations: 7.984 kB / 488.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000244/0.1751, allocations: 245.9 kB / 488.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1751, allocations: 4 kB / 488.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003991/0.1755, allocations: 75.91 kB / 488.9 MB, free: 11.62 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.0009503/0.1765, allocations: 0.9248 MB / 489.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008908/0.1774, allocations: 323.5 kB / 490.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1774, allocations: 0.75 kB / 490.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.178, allocations: 199.8 kB / 490.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1783, allocations: 64.81 kB / 490.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.1819, allocations: 3.721 MB / 494.1 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.1823, allocations: 0.8028 MB / 494.9 MB, free: 5.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.1825, allocations: 78.89 kB / 495 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.1827, allocations: 75.34 kB / 495.1 MB, free: 5.301 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1827, allocations: 0 / 495.1 MB, free: 5.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.2032, allocations: 7.641 MB / 0.491 GB, free: 13.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/0.2035, allocations: 252 kB / 0.4912 GB, free: 13.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.057, allocations: 0 / 0.4912 GB, free: 13.62 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