Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002524/0.002524, allocations: 182.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.293/2.293, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 93.27 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5373/0.5373, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005164, allocations: 8 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1423, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003035/0.1454, allocations: 1.548 MB / 491.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1478, allocations: 0.9987 MB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.148, allocations: 0 / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.1483, allocations: 43.75 kB / 492.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.1485, allocations: 47.84 kB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.1493, allocations: 135.7 kB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.1496, allocations: 147.7 kB / 493.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.174e-05/0.1498, allocations: 17.67 kB / 493.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.15, allocations: 75.69 kB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.1502, allocations: 79.67 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.1502, allocations: 8 kB / 493.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007342/0.151, allocations: 231.7 kB / 493.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1511, allocations: 47.83 kB / 493.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.154e-05/0.1512, allocations: 57.56 kB / 493.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.1517, allocations: 195.7 kB / 493.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1517, allocations: 0 / 493.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1517, allocations: 0 / 493.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1517, allocations: 0 / 493.9 MB, free: 7.492 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001473/0.1532, allocations: 0.5452 MB / 494.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.1533, allocations: 11.97 kB / 494.5 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.166e-05/0.1534, allocations: 50.55 kB / 494.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.081e-05/0.1535, allocations: 19.72 kB / 494.6 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.1538, allocations: 226.7 kB / 494.8 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.1539, allocations: 19.97 kB / 494.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.1539, allocations: 12 kB / 494.8 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009428/0.1549, allocations: 292.5 kB / 495.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1549, allocations: 0 / 495.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.155, allocations: 15.95 kB / 495.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/0.155, allocations: 8 kB / 495.1 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.1561, allocations: 255.5 kB / 495.4 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.1579, allocations: 0.7695 MB / 496.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.159, allocations: 243.7 kB / 496.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-05/0.1591, allocations: 0 / 496.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.1592, allocations: 42.59 kB / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.983e-06/0.1592, allocations: 0 / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001854/0.161, allocations: 0.5788 MB / 497 MB, free: 4.156 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/0.1612, allocations: 106.9 kB / 497.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.1617, allocations: 274.6 kB / 497.4 MB, free: 3.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.1617, allocations: 29.7 kB / 497.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1619, allocations: 198.2 kB / 497.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.162, allocations: 43.36 kB / 497.6 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.162, allocations: 0 / 497.6 MB, free: 3.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1622, allocations: 326.8 kB / 498 MB, free: 3.152 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.1627, allocations: 99.91 kB / 498.1 MB, free: 3.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.1633, allocations: 136.5 kB / 498.2 MB, free: 2.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.1638, allocations: 108.2 kB / 498.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1638, allocations: 0 / 498.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001185/0.165, allocations: 281.2 kB / 498.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.1651, allocations: 12.09 kB / 498.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.151e-05/0.1651, allocations: 11.98 kB / 498.6 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.1652, allocations: 4 kB / 498.6 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.1656, allocations: 35.97 kB / 498.6 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1656, allocations: 0 / 498.6 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/0.166, allocations: 51.66 kB / 498.7 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.1661, allocations: 8 kB / 498.7 MB, free: 2.398 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002524/0.1663, allocations: 153.9 kB / 498.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.1664, allocations: 15.81 kB / 498.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.1677, allocations: 243 kB / 499.1 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.1678, allocations: 0 / 499.1 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.1678, allocations: 4 kB / 499.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.1679, allocations: 0 / 499.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.1689, allocations: 265.4 kB / 499.4 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.479e-05/0.169, allocations: 15.98 kB / 499.4 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.1696, allocations: 43.91 kB / 499.4 MB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.1696, allocations: 4 kB / 499.4 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.1696, allocations: 4 kB / 499.4 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.1697, allocations: 0 / 499.4 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.1697, allocations: 0 / 499.4 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.1713, allocations: 0.5243 MB / 500 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.1714, allocations: 100.8 kB / 0.4883 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.1715, allocations: 4 kB / 0.4883 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.172, allocations: 19.98 kB / 0.4884 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.1721, allocations: 19.98 kB / 0.4884 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.1721, allocations: 11.97 kB / 0.4884 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003297/0.1725, allocations: 197.9 kB / 0.4886 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1725, allocations: 0 / 0.4886 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006594/0.1731, allocations: 79.92 kB / 0.4886 GB, free: 0.5977 MB / 378.7 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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.3162/0.4894, allocations: 1.236 MB / 0.4899 GB, free: 42.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.4906, allocations: 304.8 kB / 0.4901 GB, free: 42.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.4906, allocations: 3.906 kB / 0.4902 GB, free: 42.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.4912, allocations: 198.9 kB / 0.4903 GB, free: 42.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.4918, allocations: 44.5 kB / 0.4904 GB, free: 42.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.4961, allocations: 2.374 MB / 0.4927 GB, free: 41.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.4964, allocations: 0.7626 MB / 0.4934 GB, free: 40.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.4966, allocations: 64.02 kB / 0.4935 GB, free: 40.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4966, allocations: 0 / 0.4935 GB, free: 40.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.57/3.067, allocations: 4.836 MB / 0.4982 GB, free: 40.24 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat