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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.064/2.064, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001134/0.001134, allocations: 100.3 kB / 270.9 MB, free: 8.371 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.525/0.525, allocations: 43.54 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006663/0.0006667, allocations: 16 kB / 431.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1359, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/0.6298, allocations: 98.56 MB / 0.5751 GB, free: 3.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000399/0.6303, allocations: 96.5 kB / 0.5752 GB, free: 3.855 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1158/0.7461, allocations: 23.54 MB / 0.5982 GB, free: 12.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7462, allocations: 0 / 0.5982 GB, free: 12.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.7462, allocations: 8 kB / 0.5982 GB, free: 12.16 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.001768/0.748, allocations: 0.7133 MB / 0.5989 GB, free: 11.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.7481, allocations: 12.03 kB / 0.5989 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/0.7483, allocations: 106.5 kB / 0.599 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.7484, allocations: 62.78 kB / 0.599 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.749, allocations: 302.3 kB / 0.5993 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.7491, allocations: 41.31 kB / 0.5994 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.7492, allocations: 56 kB / 0.5994 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.7512, allocations: 0.7325 MB / 0.6001 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.7513, allocations: 4 kB / 0.6001 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.608e-05/0.7514, allocations: 25.02 kB / 0.6002 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.7515, allocations: 49.28 kB / 0.6002 GB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.7536, allocations: 0.8013 MB / 0.601 GB, free: 9.172 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.7576, allocations: 1.543 MB / 0.6025 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.7591, allocations: 452.5 kB / 0.6029 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-05/0.7592, allocations: 12.2 kB / 0.603 GB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.661e-05/0.7593, allocations: 34.8 kB / 0.603 GB, free: 7.066 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.726e-06/0.7593, allocations: 0 / 0.603 GB, free: 7.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.002057/0.7613, allocations: 0.5552 MB / 0.6035 GB, free: 6.508 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.7614, allocations: 51.41 kB / 0.6036 GB, free: 6.445 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.7625, allocations: 0.5165 MB / 0.6041 GB, free: 5.922 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.7625, allocations: 33.7 kB / 0.6041 GB, free: 5.883 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.7628, allocations: 322 kB / 0.6044 GB, free: 5.566 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.763, allocations: 106.4 kB / 0.6045 GB, free: 5.461 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.763, allocations: 12 kB / 0.6045 GB, free: 5.449 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.7633, allocations: 330.8 kB / 0.6048 GB, free: 5.117 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006673/0.7639, allocations: 188.9 kB / 0.605 GB, free: 4.934 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008531/0.7648, allocations: 443.4 kB / 0.6055 GB, free: 4.395 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008395/0.7657, allocations: 268.6 kB / 0.6057 GB, free: 4.133 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.7657, allocations: 4 kB / 0.6057 GB, free: 4.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00203/0.7677, allocations: 0.6498 MB / 0.6063 GB, free: 3.473 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.7678, allocations: 16.03 kB / 0.6064 GB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.7678, allocations: 8 kB / 0.6064 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/0.7679, allocations: 12 kB / 0.6064 GB, free: 3.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.7699, allocations: 243.7 kB / 0.6066 GB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005869/0.7758, allocations: 7.317 MB / 0.6138 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007905/0.7767, allocations: 67.36 kB / 0.6138 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/0.7768, allocations: 35.98 kB / 0.6139 GB, free: 11.5 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 () * 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.0005253/0.7773, allocations: 261.5 kB / 0.6141 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.7775, allocations: 55.53 kB / 0.6142 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.7796, allocations: 0.5641 MB / 0.6147 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.7796, allocations: 7.938 kB / 0.6147 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7796, allocations: 4 kB / 0.6147 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.7796, allocations: 0 / 0.6147 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.7806, allocations: 433.2 kB / 0.6151 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.7806, allocations: 3.984 kB / 0.6151 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/0.7825, allocations: 211.8 kB / 0.6153 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.7826, allocations: 0 / 0.6153 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.7826, allocations: 11.98 kB / 0.6154 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005647/0.7883, allocations: 7.294 MB / 0.6225 GB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.7883, allocations: 0 / 0.6225 GB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.7898, allocations: 0.5193 MB / 0.623 GB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.7901, allocations: 124.5 kB / 0.6231 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.7902, allocations: 4 kB / 0.6231 GB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.7906, allocations: 15.94 kB / 0.6231 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.7908, allocations: 27.97 kB / 0.6231 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/0.7908, allocations: 15.98 kB / 0.6232 GB, free: 1.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008234/0.7917, allocations: 406.8 kB / 0.6236 GB, free: 1.195 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.545e-06/0.7917, allocations: 4 kB / 0.6236 GB, free: 1.191 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001092/0.7928, allocations: 191.7 kB / 0.6237 GB, free: 1.004 MB / 442.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.00253/0.7953, allocations: 1.204 MB / 0.6249 GB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002954/0.7983, allocations: 0.5795 MB / 0.6255 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.7984, allocations: 0 / 0.6255 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002008/0.8004, allocations: 312.5 kB / 0.6258 GB, free: 14.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008549/0.8013, allocations: 109.8 kB / 0.6259 GB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.8123, allocations: 8.898 MB / 0.6346 GB, free: 5.676 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.813, allocations: 0.9092 MB / 0.6355 GB, free: 4.738 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.8134, allocations: 155.4 kB / 0.6356 GB, free: 4.586 MB / 458.7 MB Notification: Performance of SimCode: time 1.242e-06/0.8134, allocations: 0 / 0.6356 GB, free: 4.586 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.581/4.394, allocations: 34.23 MB / 0.669 GB, free: 2.355 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.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_KC_res.mat does not exist to compare? outputFormat=mat