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_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_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.001502/0.001502, allocations: 176.7 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.569/1.569, allocations: 223.2 MB / 241 MB, free: 10.17 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.0009613/0.0009612, allocations: 94.84 kB / 292.1 MB, free: 10.72 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.3598/0.3598, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004427, allocations: 11.98 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3434, allocations: 61.89 MB / 0.5097 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4689, allocations: 99.67 MB / 0.607 GB, free: 11.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/0.4693, allocations: 107.8 kB / 0.6071 GB, free: 11.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06624/0.5356, allocations: 24.01 MB / 0.6305 GB, free: 3.145 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5356, allocations: 4 kB / 0.6305 GB, free: 3.141 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.5356, allocations: 4 kB / 0.6305 GB, free: 3.137 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001339/0.537, allocations: 0.7187 MB / 0.6312 GB, free: 2.371 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.537, allocations: 8.031 kB / 0.6313 GB, free: 2.363 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.5372, allocations: 102.5 kB / 0.6313 GB, free: 2.254 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.5373, allocations: 59.33 kB / 0.6314 GB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.5378, allocations: 314.2 kB / 0.6317 GB, free: 1.848 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.5379, allocations: 37.31 kB / 0.6317 GB, free: 1.809 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.5379, allocations: 52 kB / 0.6318 GB, free: 1.758 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5391, allocations: 0.7442 MB / 0.6325 GB, free: 1.008 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5391, allocations: 0 / 0.6325 GB, free: 1.008 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/0.5392, allocations: 28 kB / 0.6325 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-05/0.5392, allocations: 41.3 kB / 0.6326 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.5404, allocations: 0.8091 MB / 0.6334 GB, free: 132 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.5429, allocations: 1.532 MB / 0.6349 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.5436, allocations: 453.1 kB / 0.6353 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.5437, allocations: 12.31 kB / 0.6353 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.5437, allocations: 42.73 kB / 0.6354 GB, free: 14.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.5437, allocations: 4 kB / 0.6354 GB, free: 14.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=28): time 0.001078/0.5448, allocations: 0.5451 MB / 0.6359 GB, free: 13.47 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.5449, allocations: 59.41 kB / 0.6359 GB, free: 13.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000616/0.5455, allocations: 0.5126 MB / 0.6364 GB, free: 12.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.5455, allocations: 37.64 kB / 0.6365 GB, free: 12.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.5457, allocations: 267.5 kB / 0.6367 GB, free: 12.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.331e-05/0.5458, allocations: 114.5 kB / 0.6368 GB, free: 12.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.5458, allocations: 12 kB / 0.6369 GB, free: 12.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.546, allocations: 366.7 kB / 0.6372 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.5464, allocations: 192.9 kB / 0.6374 GB, free: 11.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/0.5469, allocations: 433.1 kB / 0.6378 GB, free: 11.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.5473, allocations: 271.7 kB / 0.6381 GB, free: 11.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5473, allocations: 4 kB / 0.6381 GB, free: 11.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001108/0.5484, allocations: 0.6774 MB / 0.6387 GB, free: 10.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5485, allocations: 8 kB / 0.6387 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.5485, allocations: 8 kB / 0.6387 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/0.5485, allocations: 16 kB / 0.6388 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.5496, allocations: 239.7 kB / 0.639 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/0.5533, allocations: 7.31 MB / 0.6461 GB, free: 2.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.5538, allocations: 75.27 kB / 0.6462 GB, free: 2.469 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.5538, allocations: 39.94 kB / 0.6462 GB, free: 2.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (64): * Single equations (assignments): 52 * 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.0003221/0.5542, allocations: 262.2 kB / 0.6465 GB, free: 2.164 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.5543, allocations: 47.44 kB / 0.6465 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.5554, allocations: 0.5603 MB / 0.6471 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5554, allocations: 0 / 0.6471 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5554, allocations: 3.984 kB / 0.6471 GB, free: 1.543 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5554, allocations: 0 / 0.6471 GB, free: 1.543 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.556, allocations: 441.2 kB / 0.6475 GB, free: 1.062 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.556, allocations: 0 / 0.6475 GB, free: 1.062 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008625/0.5568, allocations: 207.8 kB / 0.6477 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.5569, allocations: 0 / 0.6477 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.5569, allocations: 7.984 kB / 0.6477 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/0.5608, allocations: 7.306 MB / 0.6548 GB, free: 9.266 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5608, allocations: 3.984 kB / 0.6548 GB, free: 9.262 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/0.5616, allocations: 0.519 MB / 0.6554 GB, free: 8.727 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.5619, allocations: 128.4 kB / 0.6555 GB, free: 8.582 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.078e-05/0.5619, allocations: 0 / 0.6555 GB, free: 8.582 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.5622, allocations: 15.98 kB / 0.6555 GB, free: 8.566 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.5623, allocations: 23.97 kB / 0.6555 GB, free: 8.543 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.5623, allocations: 19.98 kB / 0.6555 GB, free: 8.523 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004942/0.5628, allocations: 406.8 kB / 0.6559 GB, free: 8.129 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5628, allocations: 0 / 0.6559 GB, free: 8.129 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000787/0.5636, allocations: 191.8 kB / 0.6561 GB, free: 7.941 MB / 474.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.001543/0.5652, allocations: 1.21 MB / 0.6573 GB, free: 6.707 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.5667, allocations: 0.5749 MB / 0.6578 GB, free: 6.133 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5667, allocations: 0.625 kB / 0.6578 GB, free: 6.133 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009442/0.5677, allocations: 315.5 kB / 0.6582 GB, free: 5.824 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.5682, allocations: 108.5 kB / 0.6583 GB, free: 5.723 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007523/0.5757, allocations: 8.869 MB / 0.6669 GB, free: 12.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.5764, allocations: 0.917 MB / 0.6678 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004436/0.5768, allocations: 168.4 kB / 0.668 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.5771, allocations: 143.4 kB / 0.6681 GB, free: 11.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.773e-06/0.5771, allocations: 4 kB / 0.6681 GB, free: 11.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2887/0.8658, allocations: 15.27 MB / 0.683 GB, free: 130.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.866, allocations: 250.3 kB / 0.6833 GB, free: 130.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/3.302, allocations: 3.906 kB / 0.6833 GB, free: 130.1 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall_KC_res.mat does not exist to compare? outputFormat=mat