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.001027/0.001027, allocations: 177 kB / 17.06 MB, free: 5.094 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.422/1.422, allocations: 223.2 MB / 241 MB, free: 11.9 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.0008507/0.0008507, allocations: 96.05 kB / 292.1 MB, free: 10.92 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.3397/0.3397, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 12 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3556, allocations: 61.9 MB / 0.5097 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4824, allocations: 94.53 MB / 0.602 GB, free: 0.582 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.4827, allocations: 103.9 kB / 0.6021 GB, free: 500 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03245/0.5152, allocations: 12.12 MB / 0.6139 GB, free: 4.191 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5152, allocations: 0 / 0.6139 GB, free: 4.191 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.5152, allocations: 7.938 kB / 0.6139 GB, free: 4.184 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0009125/0.5162, allocations: 0.629 MB / 0.6145 GB, free: 3.508 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5162, allocations: 8.031 kB / 0.6145 GB, free: 3.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.5163, allocations: 98.5 kB / 0.6146 GB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.5164, allocations: 43.44 kB / 0.6147 GB, free: 3.352 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.5168, allocations: 294.3 kB / 0.6149 GB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.5169, allocations: 37 kB / 0.615 GB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.517, allocations: 43.98 kB / 0.615 GB, free: 2.945 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009805/0.5179, allocations: 0.6483 MB / 0.6157 GB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.518, allocations: 0 / 0.6157 GB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.518, allocations: 16 kB / 0.6157 GB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/0.5181, allocations: 45.28 kB / 0.6157 GB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.5191, allocations: 0.6999 MB / 0.6164 GB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.5214, allocations: 1.376 MB / 0.6177 GB, free: 88 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007524/0.5221, allocations: 453.1 kB / 0.6182 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.5222, allocations: 12.22 kB / 0.6182 GB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.5222, allocations: 42.73 kB / 0.6182 GB, free: 15.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.873e-06/0.5222, allocations: 0 / 0.6182 GB, free: 15.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001101/0.5233, allocations: 0.5375 MB / 0.6188 GB, free: 15.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.5234, allocations: 51.41 kB / 0.6188 GB, free: 14.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.5239, allocations: 448.6 kB / 0.6192 GB, free: 14.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.5239, allocations: 25.7 kB / 0.6193 GB, free: 14.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.5241, allocations: 220.3 kB / 0.6195 GB, free: 14.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/0.5242, allocations: 98.64 kB / 0.6196 GB, free: 14.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.5242, allocations: 4 kB / 0.6196 GB, free: 14.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5243, allocations: 354.8 kB / 0.6199 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.5247, allocations: 160.5 kB / 0.6201 GB, free: 13.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.525, allocations: 253.5 kB / 0.6203 GB, free: 13.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.5254, allocations: 195.8 kB / 0.6205 GB, free: 13.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5254, allocations: 4 kB / 0.6205 GB, free: 13.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008197/0.5262, allocations: 0.4897 MB / 0.621 GB, free: 12.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5263, allocations: 8 kB / 0.621 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.5263, allocations: 7.984 kB / 0.621 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5263, allocations: 4 kB / 0.621 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/0.5272, allocations: 200.1 kB / 0.6212 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003943/0.5312, allocations: 7.294 MB / 0.6283 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.5316, allocations: 67.67 kB / 0.6284 GB, free: 4.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.5316, allocations: 19.98 kB / 0.6284 GB, free: 4.801 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * 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.0003145/0.5319, allocations: 222.8 kB / 0.6286 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.532, allocations: 39.53 kB / 0.6286 GB, free: 4.535 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.533, allocations: 0.5402 MB / 0.6292 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.533, allocations: 4 kB / 0.6292 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5331, allocations: 0 / 0.6292 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.5331, allocations: 3.984 kB / 0.6292 GB, free: 3.977 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.5336, allocations: 413.2 kB / 0.6296 GB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5336, allocations: 0 / 0.6296 GB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008568/0.5345, allocations: 199.8 kB / 0.6297 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.5345, allocations: 4 kB / 0.6298 GB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.5345, allocations: 7.984 kB / 0.6298 GB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003992/0.5385, allocations: 7.286 MB / 0.6369 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.5385, allocations: 112 / 0.6369 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.5394, allocations: 0.511 MB / 0.6374 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.5396, allocations: 128.6 kB / 0.6375 GB, free: 11.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.5396, allocations: 4 kB / 0.6375 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.5399, allocations: 12 kB / 0.6375 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.5399, allocations: 27.95 kB / 0.6375 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.54, allocations: 11.98 kB / 0.6376 GB, free: 11.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004694/0.5405, allocations: 355.1 kB / 0.6379 GB, free: 10.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5405, allocations: 0 / 0.6379 GB, free: 10.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005622/0.541, allocations: 131.8 kB / 0.638 GB, free: 10.55 MB / 458.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 (28): * Single equations (assignments): 16 * 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.001303/0.5423, allocations: 1.132 MB / 0.6391 GB, free: 9.391 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.5437, allocations: 492 kB / 0.6396 GB, free: 8.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5437, allocations: 0 / 0.6396 GB, free: 8.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009534/0.5447, allocations: 307.7 kB / 0.6399 GB, free: 8.609 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.5452, allocations: 105.4 kB / 0.64 GB, free: 8.508 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/0.5501, allocations: 4.772 MB / 0.6446 GB, free: 3.633 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.5507, allocations: 0.8896 MB / 0.6455 GB, free: 2.715 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003384/0.551, allocations: 136.1 kB / 0.6456 GB, free: 2.582 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.5512, allocations: 123.4 kB / 0.6458 GB, free: 2.461 MB / 458.7 MB Notification: Performance of SimCode: time 4.338e-06/0.5512, allocations: 4 kB / 0.6458 GB, free: 2.457 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.5806, allocations: 12.88 MB / 0.6583 GB, free: 5.926 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/0.5808, allocations: 252.5 kB / 0.6586 GB, free: 5.59 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/2.978, allocations: 0 / 0.6586 GB, free: 5.59 MB / 474.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