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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",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.002385/0.002385, allocations: 181.4 kB / 16.4 MB, free: 5.746 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.267/2.267, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001217/0.001217, allocations: 101.2 kB / 270.9 MB, free: 8.359 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.5431/0.5431, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000773/0.0007734, allocations: 20 kB / 431.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1473, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002673/0.15, allocations: 1.446 MB / 491.8 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1518, allocations: 0.7415 MB / 492.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.152, allocations: 3.938 kB / 492.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.1523, allocations: 35.88 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1525, allocations: 51.83 kB / 492.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.1529, allocations: 67.81 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.1531, allocations: 91.78 kB / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.614e-05/0.1532, allocations: 17.11 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1533, allocations: 43.83 kB / 492.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1535, allocations: 55.75 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1535, allocations: 4 kB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.1539, allocations: 155.8 kB / 493 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.154, allocations: 35.89 kB / 493.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.1541, allocations: 41.64 kB / 493.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.1543, allocations: 108 kB / 493.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1544, allocations: 4 kB / 493.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1544, allocations: 0 / 493.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1544, allocations: 0 / 493.2 MB, free: 8.199 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008676/0.1553, allocations: 434.8 kB / 493.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.1553, allocations: 8.031 kB / 493.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.155e-05/0.1554, allocations: 46.55 kB / 493.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.1555, allocations: 27.64 kB / 493.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.1558, allocations: 190.9 kB / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1558, allocations: 8 kB / 493.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.1559, allocations: 12 kB / 493.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.1564, allocations: 165.5 kB / 494.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1564, allocations: 7.922 kB / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.1565, allocations: 8 kB / 494.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/0.1565, allocations: 11.98 kB / 494.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000622/0.1572, allocations: 187.8 kB / 494.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.1583, allocations: 0.4883 MB / 494.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.159, allocations: 158.4 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.159, allocations: 0 / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1591, allocations: 30.56 kB / 495 MB, free: 6.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1591, allocations: 4 kB / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000909/0.16, allocations: 217.5 kB / 495.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1601, allocations: 59.36 kB / 495.3 MB, free: 5.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.1604, allocations: 199.5 kB / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.1604, allocations: 25.7 kB / 495.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.1605, allocations: 174.5 kB / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.1606, allocations: 31.55 kB / 495.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.1606, allocations: 4 kB / 495.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1608, allocations: 310.8 kB / 496 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.161, allocations: 67.88 kB / 496 MB, free: 5.152 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.1613, allocations: 70.52 kB / 496.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.1616, allocations: 68.33 kB / 496.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1616, allocations: 0 / 496.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006271/0.1622, allocations: 165.5 kB / 496.3 MB, free: 4.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.1623, allocations: 15.38 kB / 496.4 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1623, allocations: 0 / 496.4 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1623, allocations: 8 kB / 496.4 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.1628, allocations: 43.97 kB / 496.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.1638, allocations: 1.227 MB / 497.6 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.1641, allocations: 19.83 kB / 497.7 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1641, allocations: 4 kB / 497.7 MB, free: 3.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.1643, allocations: 141.8 kB / 497.8 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.1644, allocations: 15.81 kB / 497.8 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007114/0.1651, allocations: 191 kB / 498 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.1651, allocations: 3.984 kB / 498 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1652, allocations: 4 kB / 498 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.1652, allocations: 0 / 498 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.1655, allocations: 221.5 kB / 498.2 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1656, allocations: 0 / 498.2 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.166, allocations: 47.89 kB / 498.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.166, allocations: 8 kB / 498.3 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.1661, allocations: 4 kB / 498.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009116/0.167, allocations: 1.207 MB / 499.5 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.167, allocations: 192 / 499.5 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.1677, allocations: 263.2 kB / 499.7 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.009e-05/0.1678, allocations: 100.8 kB / 499.8 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1678, allocations: 4 kB / 499.8 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.1681, allocations: 15.94 kB / 499.9 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.1681, allocations: 8 kB / 499.9 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.1682, allocations: 7.984 kB / 499.9 MB, free: 1.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001908/0.1684, allocations: 149.1 kB / 0.4883 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1684, allocations: 0 / 0.4883 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004273/0.1688, allocations: 44.17 kB / 0.4883 GB, free: 0.9219 MB / 378.7 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001117/0.1699, allocations: 0.8293 MB / 0.4892 GB, free: 68 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.3262/0.4961, allocations: 149.2 kB / 0.4893 GB, free: 43.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.4962, allocations: 0 / 0.4893 GB, free: 43.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005198/0.4967, allocations: 94.97 kB / 0.4894 GB, free: 43.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.4971, allocations: 26.58 kB / 0.4894 GB, free: 43.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.4999, allocations: 1.409 MB / 0.4908 GB, free: 42.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.5001, allocations: 0.7321 MB / 0.4915 GB, free: 42.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.5003, allocations: 38.16 kB / 0.4915 GB, free: 42.11 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5003, allocations: 0 / 0.4915 GB, free: 42.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.078/3.578, allocations: 4.143 MB / 0.4956 GB, free: 41.97 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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_KC_res.mat does not exist to compare? outputFormat=mat