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.001451/0.001452, allocations: 174.4 kB / 8.74 MB, free: 348 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.38/1.38, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009657/0.0009658, allocations: 85.56 kB / 281.6 MB, free: 5.324 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.232/0.232, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.948e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 61.92 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4965, allocations: 98.94 MB / 0.5914 GB, free: 13.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.4967, allocations: 98.28 kB / 0.5915 GB, free: 13.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06181/0.5586, allocations: 23.8 MB / 0.6147 GB, free: 5.305 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5586, allocations: 0 / 0.6147 GB, free: 5.305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.5586, allocations: 12 kB / 0.6147 GB, free: 5.293 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001077/0.5597, allocations: 0.6895 MB / 0.6154 GB, free: 4.555 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.5598, allocations: 15.98 kB / 0.6154 GB, free: 4.539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.221e-05/0.5599, allocations: 51.34 kB / 0.6155 GB, free: 4.488 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.5602, allocations: 302.3 kB / 0.6158 GB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.5603, allocations: 23.95 kB / 0.6158 GB, free: 4.129 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.5603, allocations: 28 kB / 0.6158 GB, free: 4.102 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009126/0.5613, allocations: 0.6857 MB / 0.6165 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008966/0.5622, allocations: 0.6363 MB / 0.6171 GB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.5622, allocations: 0 / 0.6171 GB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.5622, allocations: 3.938 kB / 0.6171 GB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.5623, allocations: 41.3 kB / 0.6172 GB, free: 2.727 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.5643, allocations: 1.374 MB / 0.6185 GB, free: 1.312 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000698/0.5651, allocations: 0.514 MB / 0.619 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.5653, allocations: 164.4 kB / 0.6192 GB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-05/0.5654, allocations: 19.97 kB / 0.6192 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.5654, allocations: 38.5 kB / 0.6192 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.396e-06/0.5654, allocations: 3.984 kB / 0.6192 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006932/0.5661, allocations: 405.4 kB / 0.6196 GB, free: 156 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.5662, allocations: 59.39 kB / 0.6197 GB, free: 84 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.5664, allocations: 249.8 kB / 0.6199 GB, free: 15.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.5665, allocations: 25.7 kB / 0.6199 GB, free: 15.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.5666, allocations: 291.4 kB / 0.6202 GB, free: 15.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.5668, allocations: 126.2 kB / 0.6203 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.5668, allocations: 0 / 0.6203 GB, free: 15.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5669, allocations: 342.8 kB / 0.6206 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.5672, allocations: 185.4 kB / 0.6208 GB, free: 14.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.5677, allocations: 437.5 kB / 0.6212 GB, free: 14.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.568, allocations: 271.7 kB / 0.6215 GB, free: 14.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.568, allocations: 4 kB / 0.6215 GB, free: 14.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009271/0.569, allocations: 0.6251 MB / 0.6221 GB, free: 13.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.569, allocations: 8 kB / 0.6221 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.569, allocations: 8 kB / 0.6221 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.5691, allocations: 12.78 kB / 0.6221 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.5701, allocations: 255.6 kB / 0.6224 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/0.5739, allocations: 7.333 MB / 0.6295 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.5743, allocations: 47.81 kB / 0.6296 GB, free: 5.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.5743, allocations: 39.98 kB / 0.6296 GB, free: 5.434 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 61 * 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.0001719/0.5745, allocations: 143.8 kB / 0.6298 GB, free: 5.285 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005995/0.5751, allocations: 401.1 kB / 0.6302 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.5752, allocations: 35.61 kB / 0.6302 GB, free: 4.852 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009441/0.5761, allocations: 0.5625 MB / 0.6307 GB, free: 4.281 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.5762, allocations: 7.953 kB / 0.6307 GB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5762, allocations: 7.938 kB / 0.6308 GB, free: 4.266 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5762, allocations: 0 / 0.6308 GB, free: 4.266 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.5767, allocations: 397.7 kB / 0.6311 GB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5767, allocations: 3.984 kB / 0.6311 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009261/0.5777, allocations: 211.8 kB / 0.6313 GB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5777, allocations: 4 kB / 0.6313 GB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.5777, allocations: 11.98 kB / 0.6314 GB, free: 3.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/0.5815, allocations: 7.329 MB / 0.6385 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5815, allocations: 0 / 0.6385 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.5821, allocations: 0.5076 MB / 0.639 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.5822, allocations: 116.6 kB / 0.6391 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.5823, allocations: 0 / 0.6391 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.5825, allocations: 11.98 kB / 0.6391 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.5826, allocations: 35.94 kB / 0.6392 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.5826, allocations: 19.98 kB / 0.6392 GB, free: 11.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.5828, allocations: 174 kB / 0.6393 GB, free: 11.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5828, allocations: 0 / 0.6393 GB, free: 11.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000782/0.5836, allocations: 199.5 kB / 0.6395 GB, free: 10.92 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 () * 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.001281/0.5849, allocations: 1.214 MB / 0.6407 GB, free: 9.684 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.5862, allocations: 0.5637 MB / 0.6413 GB, free: 9.121 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5862, allocations: 4 kB / 0.6413 GB, free: 9.117 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008867/0.5871, allocations: 312.5 kB / 0.6416 GB, free: 8.812 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.5874, allocations: 28.5 kB / 0.6416 GB, free: 8.781 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.5891, allocations: 0.8548 MB / 0.6424 GB, free: 7.883 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.5895, allocations: 0.9248 MB / 0.6433 GB, free: 6.934 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000336/0.5899, allocations: 155 kB / 0.6435 GB, free: 6.781 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.5901, allocations: 147.4 kB / 0.6436 GB, free: 6.637 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5901, allocations: 3.938 kB / 0.6436 GB, free: 6.633 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.6199, allocations: 10.14 MB / 0.6535 GB, free: 12.51 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.6202, allocations: 184.7 kB / 0.6537 GB, free: 12.32 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/3.161, allocations: 9.422 kB / 0.6537 GB, free: 12.31 MB / 474.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