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_laminar_KC.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.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",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.001327/0.001327, allocations: 176.3 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.71/1.71, allocations: 221.5 MB / 230.7 MB, free: 7.539 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.0008892, allocations: 96.03 kB / 281.6 MB, free: 5.285 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.2013/0.2013, allocations: 44.15 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.114e-05, allocations: 0 / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 61.93 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3932/0.5313, allocations: 93.79 MB / 0.5864 GB, free: 2.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.5316, allocations: 95.94 kB / 0.5865 GB, free: 2.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03304/0.5647, allocations: 11.98 MB / 0.5982 GB, free: 6.363 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5647, allocations: 3.938 kB / 0.5982 GB, free: 6.359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.5647, allocations: 8 kB / 0.5982 GB, free: 6.352 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0009301/0.5657, allocations: 0.6001 MB / 0.5988 GB, free: 5.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.5657, allocations: 11.98 kB / 0.5988 GB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.706e-05/0.5658, allocations: 51.44 kB / 0.5988 GB, free: 5.641 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.5662, allocations: 286.4 kB / 0.5991 GB, free: 5.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.5663, allocations: 20.89 kB / 0.5991 GB, free: 5.301 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.5663, allocations: 24 kB / 0.5991 GB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007616/0.5671, allocations: 0.5802 MB / 0.5997 GB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/0.5678, allocations: 0.5543 MB / 0.6002 GB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.5679, allocations: 0 / 0.6002 GB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.5679, allocations: 0 / 0.6002 GB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-05/0.568, allocations: 45.28 kB / 0.6003 GB, free: 4.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.57, allocations: 1.218 MB / 0.6015 GB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.5707, allocations: 0.5177 MB / 0.602 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.5711, allocations: 176.5 kB / 0.6022 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.5711, allocations: 15.86 kB / 0.6022 GB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.5712, allocations: 34.56 kB / 0.6022 GB, free: 2.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.5712, allocations: 4 kB / 0.6022 GB, free: 2.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.001007/0.5722, allocations: 397.5 kB / 0.6026 GB, free: 1.672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.5722, allocations: 51.41 kB / 0.6026 GB, free: 1.609 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.5725, allocations: 173.4 kB / 0.6028 GB, free: 1.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.5726, allocations: 25.7 kB / 0.6028 GB, free: 1.398 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.5727, allocations: 220.5 kB / 0.603 GB, free: 1.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.5729, allocations: 126.1 kB / 0.6032 GB, free: 1.055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.573, allocations: 0 / 0.6032 GB, free: 1.055 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.5731, allocations: 334.8 kB / 0.6035 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.5735, allocations: 157 kB / 0.6036 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.574, allocations: 262.2 kB / 0.6039 GB, free: 276 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.5744, allocations: 200.1 kB / 0.6041 GB, free: 76 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5745, allocations: 0 / 0.6041 GB, free: 76 kB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001122/0.5756, allocations: 480.5 kB / 0.6045 GB, free: 15.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.5756, allocations: 8 kB / 0.6045 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5757, allocations: 4 kB / 0.6045 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.5757, allocations: 7.984 kB / 0.6045 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.5769, allocations: 203.8 kB / 0.6047 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004137/0.581, allocations: 7.329 MB / 0.6119 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.5814, allocations: 23.8 kB / 0.6119 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.5814, allocations: 23.98 kB / 0.6119 GB, free: 7.723 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.5816, allocations: 124.8 kB / 0.6121 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006116/0.5822, allocations: 396.8 kB / 0.6124 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.5822, allocations: 31.7 kB / 0.6125 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009241/0.5832, allocations: 0.5434 MB / 0.613 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.5832, allocations: 4 kB / 0.613 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.5832, allocations: 3.953 kB / 0.613 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.5832, allocations: 3.984 kB / 0.613 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.5838, allocations: 381.5 kB / 0.6134 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5838, allocations: 0 / 0.6134 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/0.5847, allocations: 203.8 kB / 0.6136 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.5847, allocations: 0 / 0.6136 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.5848, allocations: 11.98 kB / 0.6136 GB, free: 5.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004015/0.5888, allocations: 7.318 MB / 0.6207 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.5888, allocations: 7.891 kB / 0.6207 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007426/0.5896, allocations: 0.4957 MB / 0.6212 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.424e-05/0.5897, allocations: 96.86 kB / 0.6213 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.5898, allocations: 0 / 0.6213 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.59, allocations: 11.98 kB / 0.6213 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.5901, allocations: 27.91 kB / 0.6213 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.5901, allocations: 24.08 kB / 0.6214 GB, free: 13.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.5902, allocations: 128.3 kB / 0.6215 GB, free: 13.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5902, allocations: 0 / 0.6215 GB, free: 13.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005895/0.5908, allocations: 155.4 kB / 0.6216 GB, free: 13.41 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/0.592, allocations: 1.124 MB / 0.6227 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.5933, allocations: 492 kB / 0.6232 GB, free: 11.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5933, allocations: 0 / 0.6232 GB, free: 11.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008841/0.5942, allocations: 311.5 kB / 0.6235 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.5945, allocations: 23.94 kB / 0.6235 GB, free: 11.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.5961, allocations: 0.7485 MB / 0.6243 GB, free: 10.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.5967, allocations: 0.893 MB / 0.6251 GB, free: 9.746 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.5969, allocations: 105.9 kB / 0.6252 GB, free: 9.641 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.5971, allocations: 127.4 kB / 0.6254 GB, free: 9.516 MB / 442.7 MB Notification: Performance of SimCode: time 1.724e-06/0.5971, allocations: 0 / 0.6254 GB, free: 9.516 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.6291, allocations: 8.02 MB / 0.6332 GB, free: 1.516 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/0.6294, allocations: 188.2 kB / 0.6334 GB, free: 1.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.585, allocations: 0 / 0.6334 GB, free: 1.32 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar_KC_res.mat does not exist to compare? outputFormat=mat