Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 241 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 94.2 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.312/0.312, allocations: 44.21 MB / 387.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 12 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3063, allocations: 61.9 MB / 0.5097 GB, free: 37.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.4165, allocations: 93.23 MB / 0.6007 GB, free: 1.852 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4168, allocations: 103.9 kB / 0.6008 GB, free: 1.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0265/0.4434, allocations: 9.911 MB / 0.6105 GB, free: 7.777 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4434, allocations: 0 / 0.6105 GB, free: 7.777 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.4434, allocations: 4 kB / 0.6105 GB, free: 7.773 MB / 426.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.000905/0.4443, allocations: 0.5256 MB / 0.611 GB, free: 7.199 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.4444, allocations: 12.03 kB / 0.611 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.275e-05/0.4445, allocations: 54.48 kB / 0.6111 GB, free: 7.125 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.4446, allocations: 23.72 kB / 0.6111 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.4449, allocations: 231.5 kB / 0.6113 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.4449, allocations: 12 kB / 0.6113 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.4449, allocations: 12 kB / 0.6113 GB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.4455, allocations: 288.5 kB / 0.6116 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.4455, allocations: 0 / 0.6116 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.4455, allocations: 8 kB / 0.6116 GB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.4455, allocations: 17.56 kB / 0.6116 GB, free: 6.488 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005963/0.4461, allocations: 247.7 kB / 0.6119 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.4473, allocations: 0.7905 MB / 0.6126 GB, free: 5.398 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.4479, allocations: 243.7 kB / 0.6129 GB, free: 5.133 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.448, allocations: 7.984 kB / 0.6129 GB, free: 5.125 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.448, allocations: 30.66 kB / 0.6129 GB, free: 5.086 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.774e-06/0.448, allocations: 3.938 kB / 0.6129 GB, free: 5.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.001008/0.449, allocations: 0.5748 MB / 0.6135 GB, free: 4.445 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.4491, allocations: 102.9 kB / 0.6136 GB, free: 4.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.4493, allocations: 253.9 kB / 0.6138 GB, free: 4.066 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.4494, allocations: 33.64 kB / 0.6139 GB, free: 4.027 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.4495, allocations: 139.9 kB / 0.614 GB, free: 3.887 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.4495, allocations: 51.28 kB / 0.614 GB, free: 3.836 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.4495, allocations: 4 kB / 0.614 GB, free: 3.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4497, allocations: 330.8 kB / 0.6144 GB, free: 3.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.4499, allocations: 95.91 kB / 0.6144 GB, free: 3.406 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.4502, allocations: 141.1 kB / 0.6146 GB, free: 3.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.4505, allocations: 103.9 kB / 0.6147 GB, free: 3.148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.4505, allocations: 4 kB / 0.6147 GB, free: 3.145 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006027/0.4511, allocations: 285.1 kB / 0.615 GB, free: 2.859 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4511, allocations: 5.562 kB / 0.615 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/0.4512, allocations: 12 kB / 0.615 GB, free: 2.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4512, allocations: 7.938 kB / 0.615 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.4514, allocations: 43.95 kB / 0.615 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.4514, allocations: 7.953 kB / 0.615 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.4517, allocations: 39.73 kB / 0.6151 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.4517, allocations: 15.98 kB / 0.6151 GB, free: 2.73 MB / 426.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.000152/0.4519, allocations: 147.1 kB / 0.6152 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.4519, allocations: 23.7 kB / 0.6152 GB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.4525, allocations: 239.2 kB / 0.6155 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4525, allocations: 0 / 0.6155 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4525, allocations: 4 kB / 0.6155 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.4525, allocations: 3.953 kB / 0.6155 GB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.4529, allocations: 265.4 kB / 0.6157 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.453, allocations: 8 kB / 0.6157 GB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.4532, allocations: 43.91 kB / 0.6158 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4532, allocations: 0 / 0.6158 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.4532, allocations: 11.98 kB / 0.6158 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.4532, allocations: 0 / 0.6158 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4532, allocations: 0 / 0.6158 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007517/0.454, allocations: 0.5132 MB / 0.6163 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.902e-05/0.4541, allocations: 100.8 kB / 0.6164 GB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.4541, allocations: 7.938 kB / 0.6164 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.4545, allocations: 27.92 kB / 0.6164 GB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.4545, allocations: 11.98 kB / 0.6164 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.4546, allocations: 12 kB / 0.6164 GB, free: 1.219 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001954/0.4548, allocations: 201.9 kB / 0.6166 GB, free: 1.023 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4548, allocations: 0 / 0.6166 GB, free: 1.023 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005107/0.4553, allocations: 83.78 kB / 0.6167 GB, free: 0.9414 MB / 426.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.00133/0.4566, allocations: 1.273 MB / 0.618 GB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006613/0.4573, allocations: 305.1 kB / 0.6183 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4573, allocations: 0 / 0.6183 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.4576, allocations: 193 kB / 0.6184 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.4581, allocations: 40.72 kB / 0.6185 GB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.4612, allocations: 2.353 MB / 0.6208 GB, free: 12.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.4615, allocations: 0.7713 MB / 0.6215 GB, free: 11.83 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000159/0.4617, allocations: 41.5 kB / 0.6216 GB, free: 11.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.4619, allocations: 63.41 kB / 0.6216 GB, free: 11.72 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4619, allocations: 0 / 0.6216 GB, free: 11.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.4819, allocations: 5.981 MB / 0.6275 GB, free: 5.988 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.4822, allocations: 223.7 kB / 0.6277 GB, free: 5.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.358, allocations: 0 / 0.6277 GB, free: 5.75 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat