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.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,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.531/1.531, allocations: 221.3 MB / 236 MB, free: 2.965 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.0008232/0.0008231, allocations: 91.8 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2031/0.2031, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.06e-05, allocations: 224 / 452 MB, free: 9.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1362, allocations: 61.92 MB / 0.5018 GB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4117/0.5479, allocations: 100.3 MB / 0.5998 GB, free: 4.867 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.5482, allocations: 91.94 kB / 0.5999 GB, free: 4.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06685/0.6151, allocations: 24.68 MB / 0.624 GB, free: 11.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6152, allocations: 0 / 0.624 GB, free: 11.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.6152, allocations: 4 kB / 0.624 GB, free: 11.9 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001617/0.6168, allocations: 0.7363 MB / 0.6247 GB, free: 11.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.6169, allocations: 12.03 kB / 0.6247 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.6171, allocations: 102.5 kB / 0.6248 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.6172, allocations: 55.34 kB / 0.6249 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.6177, allocations: 318.2 kB / 0.6252 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.6178, allocations: 37.31 kB / 0.6252 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.07e-05/0.6179, allocations: 59.97 kB / 0.6253 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.619, allocations: 0.7268 MB / 0.626 GB, free: 9.754 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.619, allocations: 4 kB / 0.626 GB, free: 9.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.6191, allocations: 20 kB / 0.626 GB, free: 9.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.59e-05/0.6191, allocations: 33.3 kB / 0.626 GB, free: 9.695 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007665/0.6199, allocations: 0.4891 MB / 0.6265 GB, free: 9.203 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.6223, allocations: 1.684 MB / 0.6282 GB, free: 7.453 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.6227, allocations: 275.6 kB / 0.6284 GB, free: 7.156 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.623, allocations: 127.8 kB / 0.6286 GB, free: 7.023 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.113e-05/0.623, allocations: 15.97 kB / 0.6286 GB, free: 7.008 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.6231, allocations: 34.56 kB / 0.6286 GB, free: 6.965 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 3.106e-06/0.6231, allocations: 0 / 0.6286 GB, free: 6.965 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.000658/0.6237, allocations: 324.9 kB / 0.6289 GB, free: 6.641 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.6238, allocations: 110.7 kB / 0.629 GB, free: 6.508 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006622/0.6245, allocations: 0.5667 MB / 0.6296 GB, free: 5.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.6245, allocations: 25.7 kB / 0.6296 GB, free: 5.898 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.6247, allocations: 283.4 kB / 0.6299 GB, free: 5.613 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.377e-05/0.6248, allocations: 78.98 kB / 0.6299 GB, free: 5.535 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.6248, allocations: 12 kB / 0.63 GB, free: 5.523 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.625, allocations: 362.7 kB / 0.6303 GB, free: 5.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.6253, allocations: 161.1 kB / 0.6304 GB, free: 5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.6257, allocations: 433.5 kB / 0.6309 GB, free: 4.449 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.6261, allocations: 237.1 kB / 0.6311 GB, free: 4.219 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.6262, allocations: 4 kB / 0.6311 GB, free: 4.215 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001066/0.6272, allocations: 0.6305 MB / 0.6317 GB, free: 3.578 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.6273, allocations: 8 kB / 0.6317 GB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.135e-05/0.6274, allocations: 43.97 kB / 0.6318 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.6274, allocations: 16.75 kB / 0.6318 GB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.6277, allocations: 87.75 kB / 0.6319 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-05/0.6278, allocations: 15.94 kB / 0.6319 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.6282, allocations: 91.25 kB / 0.632 GB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.651e-05/0.6283, allocations: 32 kB / 0.632 GB, free: 3.289 MB / 442.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.0001492/0.6285, allocations: 159.8 kB / 0.6321 GB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.6286, allocations: 51.34 kB / 0.6322 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008789/0.6295, allocations: 454.5 kB / 0.6326 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.6295, allocations: 7.984 kB / 0.6326 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.6295, allocations: 7.938 kB / 0.6326 GB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6295, allocations: 3.938 kB / 0.6326 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/0.6303, allocations: 405.3 kB / 0.633 GB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.113e-05/0.6304, allocations: 43.97 kB / 0.6331 GB, free: 2.117 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.6305, allocations: 31.97 kB / 0.6331 GB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6305, allocations: 4 kB / 0.6331 GB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.6306, allocations: 11.98 kB / 0.6331 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6306, allocations: 0 / 0.6331 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6306, allocations: 0 / 0.6331 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.6313, allocations: 0.5966 MB / 0.6337 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.6315, allocations: 128.4 kB / 0.6338 GB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/0.6316, allocations: 4 kB / 0.6338 GB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.6319, allocations: 35.91 kB / 0.6339 GB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.632, allocations: 19.97 kB / 0.6339 GB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.632, allocations: 16 kB / 0.6339 GB, free: 1.227 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000522/0.6326, allocations: 441.5 kB / 0.6343 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6326, allocations: 0 / 0.6343 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008686/0.6335, allocations: 199.9 kB / 0.6345 GB, free: 0.6016 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 () * 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.001696/0.6352, allocations: 1.441 MB / 0.6359 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008778/0.6361, allocations: 0.6957 MB / 0.6366 GB, free: 14.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6361, allocations: 0 / 0.6366 GB, free: 14.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.6365, allocations: 452.3 kB / 0.637 GB, free: 13.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.6371, allocations: 114.3 kB / 0.6371 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.6392, allocations: 0.9287 MB / 0.638 GB, free: 12.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.6398, allocations: 0.9091 MB / 0.6389 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003365/0.6401, allocations: 136.5 kB / 0.6391 GB, free: 11.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.6403, allocations: 139.4 kB / 0.6392 GB, free: 11.55 MB / 458.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6403, allocations: 0 / 0.6392 GB, free: 11.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03218/0.6725, allocations: 15.25 MB / 0.6541 GB, free: 12.53 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.6727, allocations: 191.1 kB / 0.6543 GB, free: 12.31 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.006, allocations: 0 / 0.6543 GB, free: 12.31 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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_res.mat does not exist to compare? outputFormat=mat