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_overall.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_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.001725/0.001725, allocations: 176.8 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.408/1.408, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008529/0.0008529, allocations: 91.14 kB / 292.1 MB, free: 10.94 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.3456/0.3456, allocations: 44.23 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004001, allocations: 8 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3485, allocations: 61.91 MB / 0.5097 GB, free: 37.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.4781, allocations: 100.4 MB / 0.6077 GB, free: 10.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.4785, allocations: 107.9 kB / 0.6078 GB, free: 10.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0666/0.5451, allocations: 24.65 MB / 0.6319 GB, free: 1.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5451, allocations: 4 kB / 0.6319 GB, free: 1.727 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.5452, allocations: 8 kB / 0.6319 GB, free: 1.719 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001766/0.5469, allocations: 0.7566 MB / 0.6326 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.547, allocations: 12.56 kB / 0.6327 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/0.5472, allocations: 110.4 kB / 0.6328 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.5474, allocations: 59.33 kB / 0.6328 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005805/0.548, allocations: 306.8 kB / 0.6331 GB, free: 392 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.548, allocations: 41.31 kB / 0.6331 GB, free: 352 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.5481, allocations: 55.94 kB / 0.6332 GB, free: 296 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.5494, allocations: 0.7736 MB / 0.634 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.5494, allocations: 0 / 0.634 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.5495, allocations: 24 kB / 0.634 GB, free: 15.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.998e-05/0.5495, allocations: 25.31 kB / 0.634 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.5507, allocations: 0.5749 MB / 0.6346 GB, free: 14.87 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.5535, allocations: 1.7 MB / 0.6362 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.5541, allocations: 316.2 kB / 0.6365 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.597e-05/0.5542, allocations: 15.94 kB / 0.6365 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.5542, allocations: 34.56 kB / 0.6366 GB, free: 12.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 2.645e-06/0.5542, allocations: 0 / 0.6366 GB, free: 12.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.001428/0.5556, allocations: 0.7676 MB / 0.6373 GB, free: 11.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.5557, allocations: 110.8 kB / 0.6374 GB, free: 11.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006662/0.5564, allocations: 0.5644 MB / 0.638 GB, free: 11.17 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.5564, allocations: 29.7 kB / 0.638 GB, free: 11.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.5566, allocations: 295.3 kB / 0.6383 GB, free: 10.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.5567, allocations: 67.09 kB / 0.6384 GB, free: 10.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.5567, allocations: 8 kB / 0.6384 GB, free: 10.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5569, allocations: 366.7 kB / 0.6387 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.5573, allocations: 200.9 kB / 0.6389 GB, free: 10.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.5578, allocations: 469.4 kB / 0.6394 GB, free: 9.617 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.5583, allocations: 285 kB / 0.6396 GB, free: 9.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.5583, allocations: 4 kB / 0.6396 GB, free: 9.336 MB / 458.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001247/0.5596, allocations: 0.7085 MB / 0.6403 GB, free: 8.621 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5596, allocations: 15.94 kB / 0.6403 GB, free: 8.605 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-05/0.5597, allocations: 43.97 kB / 0.6404 GB, free: 8.562 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.5598, allocations: 19.94 kB / 0.6404 GB, free: 8.543 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.5601, allocations: 84.03 kB / 0.6405 GB, free: 8.461 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.5601, allocations: 15.94 kB / 0.6405 GB, free: 8.445 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.5605, allocations: 87.25 kB / 0.6406 GB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.5606, allocations: 39.98 kB / 0.6406 GB, free: 8.32 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002972/0.5609, allocations: 257.4 kB / 0.6409 GB, free: 8.059 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.561, allocations: 51.44 kB / 0.6409 GB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009842/0.562, allocations: 487.8 kB / 0.6414 GB, free: 7.527 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.562, allocations: 8 kB / 0.6414 GB, free: 7.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5621, allocations: 0 / 0.6414 GB, free: 7.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.5621, allocations: 0 / 0.6414 GB, free: 7.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006141/0.5627, allocations: 417.2 kB / 0.6418 GB, free: 7.062 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-05/0.5627, allocations: 35.97 kB / 0.6418 GB, free: 7.027 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.5629, allocations: 35.97 kB / 0.6418 GB, free: 6.992 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5629, allocations: 0 / 0.6418 GB, free: 6.992 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.563, allocations: 15.98 kB / 0.6419 GB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.563, allocations: 7.938 kB / 0.6419 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.563, allocations: 4 kB / 0.6419 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000915/0.5639, allocations: 0.6597 MB / 0.6425 GB, free: 6.277 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.5641, allocations: 132.4 kB / 0.6426 GB, free: 6.129 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/0.5642, allocations: 8 kB / 0.6427 GB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.5645, allocations: 23.98 kB / 0.6427 GB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.5646, allocations: 27.91 kB / 0.6427 GB, free: 6.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.5646, allocations: 15.98 kB / 0.6427 GB, free: 6.055 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004877/0.5651, allocations: 446.7 kB / 0.6431 GB, free: 5.621 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5651, allocations: 0 / 0.6431 GB, free: 5.621 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009239/0.5661, allocations: 199.8 kB / 0.6433 GB, free: 5.426 MB / 458.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001798/0.5679, allocations: 1.525 MB / 0.6448 GB, free: 3.871 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.569, allocations: 0.7738 MB / 0.6456 GB, free: 3.027 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.569, allocations: 0 / 0.6456 GB, free: 3.027 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005329/0.5696, allocations: 496.2 kB / 0.6461 GB, free: 2.469 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.5702, allocations: 118.3 kB / 0.6462 GB, free: 2.352 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007459/0.5777, allocations: 9.743 MB / 0.6557 GB, free: 8.355 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.5782, allocations: 0.9052 MB / 0.6566 GB, free: 7.422 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003651/0.5786, allocations: 136.5 kB / 0.6567 GB, free: 7.289 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.5788, allocations: 139.4 kB / 0.6568 GB, free: 7.152 MB / 474.7 MB Notification: Performance of SimCode: time 3.898e-06/0.5788, allocations: 0 / 0.6568 GB, free: 7.152 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.6112, allocations: 15.19 MB / 0.6717 GB, free: 8.266 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.6114, allocations: 223.6 kB / 0.6719 GB, free: 8.023 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.076, allocations: 2.922 kB / 0.6719 GB, free: 8.023 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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_overall_res.mat does not exist to compare? outputFormat=mat