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.001744/0.00175, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001113/0.001113, allocations: 103.2 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6727/0.6727, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005528/0.0005527, allocations: 12 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1365, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4944/0.631, allocations: 99.31 MB / 0.5758 GB, free: 3.199 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003916/0.6315, allocations: 102.4 kB / 0.5759 GB, free: 3.102 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1192/0.7507, allocations: 24.17 MB / 0.5995 GB, free: 10.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7507, allocations: 0 / 0.5995 GB, free: 10.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.7508, allocations: 4 kB / 0.5995 GB, free: 10.78 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002227/0.753, allocations: 0.7671 MB / 0.6003 GB, free: 9.965 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.7531, allocations: 8.031 kB / 0.6003 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002665/0.7534, allocations: 109.9 kB / 0.6004 GB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.7535, allocations: 51.34 kB / 0.6004 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.7543, allocations: 310.3 kB / 0.6007 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.043e-05/0.7543, allocations: 45.23 kB / 0.6008 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.7545, allocations: 52 kB / 0.6008 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.7567, allocations: 0.7736 MB / 0.6016 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.7568, allocations: 1.031 kB / 0.6016 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/0.7569, allocations: 20 kB / 0.6016 GB, free: 8.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-05/0.7569, allocations: 37.3 kB / 0.6016 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.7589, allocations: 0.5788 MB / 0.6022 GB, free: 7.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004522/0.7635, allocations: 1.7 MB / 0.6039 GB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.7647, allocations: 315.5 kB / 0.6042 GB, free: 5.828 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.299e-05/0.7648, allocations: 12.12 kB / 0.6042 GB, free: 5.816 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.7649, allocations: 34.5 kB / 0.6042 GB, free: 5.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.286e-06/0.7649, allocations: 4 kB / 0.6042 GB, free: 5.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002584/0.7675, allocations: 0.7685 MB / 0.605 GB, free: 4.941 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/0.7676, allocations: 110.9 kB / 0.6051 GB, free: 4.809 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.7689, allocations: 0.5642 MB / 0.6056 GB, free: 4.238 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.29e-05/0.769, allocations: 33.64 kB / 0.6057 GB, free: 4.199 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.7693, allocations: 326.1 kB / 0.606 GB, free: 3.879 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.7695, allocations: 78.98 kB / 0.606 GB, free: 3.801 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.7696, allocations: 8 kB / 0.606 GB, free: 3.793 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.7697, allocations: 330.8 kB / 0.6064 GB, free: 3.461 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008362/0.7706, allocations: 204.9 kB / 0.6066 GB, free: 3.262 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.7717, allocations: 469.4 kB / 0.607 GB, free: 2.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.7728, allocations: 279.7 kB / 0.6073 GB, free: 2.406 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.7728, allocations: 0 / 0.6073 GB, free: 2.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002507/0.7753, allocations: 0.6796 MB / 0.6079 GB, free: 1.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.7754, allocations: 12 kB / 0.6079 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001592/0.7756, allocations: 47.97 kB / 0.608 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.957e-05/0.7756, allocations: 16.53 kB / 0.608 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/0.7763, allocations: 79.78 kB / 0.6081 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.062e-05/0.7763, allocations: 23.86 kB / 0.6081 GB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008884/0.7772, allocations: 91.19 kB / 0.6082 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.7774, allocations: 36 kB / 0.6082 GB, free: 1.422 MB / 426.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.0005871/0.778, allocations: 261.5 kB / 0.6085 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.7782, allocations: 47.44 kB / 0.6085 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.7801, allocations: 489.3 kB / 0.609 GB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.7801, allocations: 7.984 kB / 0.609 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/0.7802, allocations: 7.953 kB / 0.609 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7802, allocations: 4 kB / 0.609 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.7813, allocations: 413.2 kB / 0.6094 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001456/0.7815, allocations: 35.97 kB / 0.6094 GB, free: 120 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.7818, allocations: 31.97 kB / 0.6095 GB, free: 88 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.7819, allocations: 0 / 0.6095 GB, free: 88 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.432e-05/0.7819, allocations: 15.98 kB / 0.6095 GB, free: 72 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.7819, allocations: 7.938 kB / 0.6095 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7819, allocations: 0 / 0.6095 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.7838, allocations: 0.6573 MB / 0.6101 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.7841, allocations: 136.4 kB / 0.6103 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.7843, allocations: 0 / 0.6103 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005637/0.7849, allocations: 31.97 kB / 0.6103 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.785, allocations: 19.97 kB / 0.6103 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/0.7851, allocations: 16 kB / 0.6103 GB, free: 15.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009142/0.786, allocations: 446.7 kB / 0.6108 GB, free: 14.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.786, allocations: 0 / 0.6108 GB, free: 14.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001418/0.7875, allocations: 203.7 kB / 0.6109 GB, free: 14.52 MB / 442.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.003055/0.7906, allocations: 1.534 MB / 0.6124 GB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002243/0.7928, allocations: 0.7677 MB / 0.6132 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7929, allocations: 4.062 kB / 0.6132 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009815/0.7939, allocations: 492.2 kB / 0.6137 GB, free: 11.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.795, allocations: 110.3 kB / 0.6138 GB, free: 11.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.808, allocations: 9.773 MB / 0.6233 GB, free: 1.422 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007398/0.8088, allocations: 0.8935 MB / 0.6242 GB, free: 0.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/0.8092, allocations: 149.2 kB / 0.6243 GB, free: 364 kB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8092, allocations: 0 / 0.6243 GB, free: 364 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.78/3.589, allocations: 12.74 MB / 0.6368 GB, free: 3.656 MB / 458.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