Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 90.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3691/0.3691, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.737e-05/3.749e-05, allocations: 0 / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 58.85 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5118/0.6318, allocations: 99.22 MB / 0.5698 GB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/0.6323, allocations: 102 kB / 0.5699 GB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1116/0.7439, allocations: 24.19 MB / 0.5935 GB, free: 15.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7439, allocations: 0 / 0.5935 GB, free: 15.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.265e-05/0.744, allocations: 4 kB / 0.5935 GB, free: 15.4 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001875/0.7459, allocations: 0.7477 MB / 0.5943 GB, free: 14.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.7459, allocations: 12.03 kB / 0.5943 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002107/0.7462, allocations: 104.7 kB / 0.5944 GB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.7463, allocations: 55.3 kB / 0.5944 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.747, allocations: 303.6 kB / 0.5947 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.7471, allocations: 50.86 kB / 0.5948 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.7472, allocations: 52.62 kB / 0.5948 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.7488, allocations: 0.7265 MB / 0.5955 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.7489, allocations: 3.938 kB / 0.5955 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/0.749, allocations: 21.19 kB / 0.5955 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.376e-05/0.7491, allocations: 29.3 kB / 0.5956 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.7504, allocations: 0.4939 MB / 0.596 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004003/0.7544, allocations: 1.693 MB / 0.5977 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007562/0.7552, allocations: 275.4 kB / 0.598 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.7556, allocations: 119.6 kB / 0.5981 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.668e-05/0.7557, allocations: 11.98 kB / 0.5981 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.7557, allocations: 37.89 kB / 0.5981 GB, free: 11.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.326e-06/0.7557, allocations: 4 kB / 0.5981 GB, free: 11.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001112/0.7569, allocations: 325.9 kB / 0.5984 GB, free: 10.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.7569, allocations: 102.8 kB / 0.5985 GB, free: 10.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.758, allocations: 0.5685 MB / 0.5991 GB, free: 10.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.7581, allocations: 36.33 kB / 0.5991 GB, free: 10.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.7584, allocations: 321.2 kB / 0.5994 GB, free: 10.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.7585, allocations: 77.14 kB / 0.5995 GB, free: 9.949 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.7586, allocations: 11 kB / 0.5995 GB, free: 9.945 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.7588, allocations: 329.8 kB / 0.5998 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.7593, allocations: 158 kB / 0.6 GB, free: 9.488 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/0.76, allocations: 430.9 kB / 0.6004 GB, free: 8.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.7607, allocations: 239.4 kB / 0.6006 GB, free: 8.773 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.7607, allocations: 4 kB / 0.6006 GB, free: 8.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001733/0.7625, allocations: 0.5934 MB / 0.6012 GB, free: 8.238 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.7625, allocations: 8 kB / 0.6012 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/0.7627, allocations: 47.97 kB / 0.6013 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.946e-05/0.7628, allocations: 19.95 kB / 0.6013 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.7633, allocations: 79 kB / 0.6014 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.817e-05/0.7634, allocations: 15.94 kB / 0.6014 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/0.7642, allocations: 97.88 kB / 0.6015 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.321e-05/0.7643, allocations: 30.81 kB / 0.6015 GB, free: 7.961 MB / 410.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 () * 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.000225/0.7645, allocations: 158.3 kB / 0.6016 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.7647, allocations: 47.34 kB / 0.6017 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.7663, allocations: 458.8 kB / 0.6021 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.7663, allocations: 7.984 kB / 0.6021 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.7663, allocations: 7.938 kB / 0.6021 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.7664, allocations: 4 kB / 0.6021 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.7674, allocations: 410 kB / 0.6025 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000124/0.7675, allocations: 35.97 kB / 0.6026 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.7679, allocations: 35.91 kB / 0.6026 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.7679, allocations: 0 / 0.6026 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.7679, allocations: 14.98 kB / 0.6026 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.768, allocations: 8 kB / 0.6026 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.768, allocations: 0 / 0.6026 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.7691, allocations: 0.5895 MB / 0.6032 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.7694, allocations: 124.5 kB / 0.6033 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.7695, allocations: 7.5 kB / 0.6033 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005994/0.7701, allocations: 27.97 kB / 0.6034 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.7702, allocations: 27.09 kB / 0.6034 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.7703, allocations: 12 kB / 0.6034 GB, free: 6.059 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008431/0.7712, allocations: 442.2 kB / 0.6038 GB, free: 5.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7712, allocations: 0 / 0.6038 GB, free: 5.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001251/0.7724, allocations: 200.3 kB / 0.604 GB, free: 5.539 MB / 410.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 () * 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.002346/0.7748, allocations: 1.452 MB / 0.6054 GB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.7764, allocations: 0.6893 MB / 0.6061 GB, free: 3.375 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.7764, allocations: 7.938 kB / 0.6061 GB, free: 3.367 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006516/0.7771, allocations: 451.9 kB / 0.6065 GB, free: 2.871 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.7781, allocations: 116.6 kB / 0.6066 GB, free: 2.789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.7817, allocations: 0.9336 MB / 0.6076 GB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.7825, allocations: 0.8916 MB / 0.6084 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/0.7828, allocations: 150.1 kB / 0.6086 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.7828, allocations: 0 / 0.6086 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.831/3.614, allocations: 12.49 MB / 0.6208 GB, free: 4.477 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat