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_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",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.001254/0.001253, allocations: 179.6 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.375/1.375, allocations: 221.4 MB / 236 MB, free: 2.957 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.0008099/0.0008099, allocations: 99.48 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.2856/0.2856, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.252e-05/4.262e-05, allocations: 8.156 kB / 452 MB, free: 9.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1575, allocations: 61.92 MB / 0.5018 GB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.6289, allocations: 93.79 MB / 0.5934 GB, free: 11.42 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.6293, allocations: 103.4 kB / 0.5935 GB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0389/0.6682, allocations: 13.76 MB / 0.6069 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6683, allocations: 0 / 0.6069 GB, free: 13.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.6683, allocations: 4 kB / 0.607 GB, free: 13.46 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009366/0.6693, allocations: 0.5567 MB / 0.6075 GB, free: 12.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/0.6693, allocations: 12.03 kB / 0.6075 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.6694, allocations: 70.53 kB / 0.6076 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.6695, allocations: 27.62 kB / 0.6076 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.6699, allocations: 258.5 kB / 0.6078 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.67, allocations: 24.56 kB / 0.6079 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.67, allocations: 24 kB / 0.6079 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006827/0.6707, allocations: 394.8 kB / 0.6083 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.6708, allocations: 0 / 0.6083 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.6708, allocations: 15.98 kB / 0.6083 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/0.6709, allocations: 16.5 kB / 0.6083 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.6713, allocations: 266 kB / 0.6086 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.6732, allocations: 1.116 MB / 0.6096 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.6736, allocations: 215.8 kB / 0.6098 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.6738, allocations: 82.48 kB / 0.6099 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.6739, allocations: 4 kB / 0.6099 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.6739, allocations: 38.59 kB / 0.61 GB, free: 10.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.6739, allocations: 0 / 0.61 GB, free: 10.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005052/0.6744, allocations: 205.1 kB / 0.6102 GB, free: 9.938 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/0.6745, allocations: 106.9 kB / 0.6103 GB, free: 9.809 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.6749, allocations: 367.3 kB / 0.6106 GB, free: 9.438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.6749, allocations: 29.7 kB / 0.6106 GB, free: 9.402 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.6751, allocations: 187.9 kB / 0.6108 GB, free: 9.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.359e-05/0.6752, allocations: 59.19 kB / 0.6109 GB, free: 9.156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/0.6752, allocations: 4 kB / 0.6109 GB, free: 9.152 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6753, allocations: 338.8 kB / 0.6112 GB, free: 8.812 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.6755, allocations: 88.17 kB / 0.6113 GB, free: 8.723 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.6758, allocations: 200.3 kB / 0.6115 GB, free: 8.473 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.676, allocations: 135.8 kB / 0.6116 GB, free: 8.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.676, allocations: 3.938 kB / 0.6116 GB, free: 8.336 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005377/0.6766, allocations: 341.2 kB / 0.6119 GB, free: 7.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.6766, allocations: 12.06 kB / 0.612 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/0.6766, allocations: 19.98 kB / 0.612 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.6767, allocations: 8 kB / 0.612 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.6769, allocations: 55.89 kB / 0.612 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.6769, allocations: 4 kB / 0.612 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.6772, allocations: 59.66 kB / 0.6121 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.6773, allocations: 12 kB / 0.6121 GB, free: 7.828 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001039/0.6774, allocations: 128.8 kB / 0.6122 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.6775, allocations: 27.62 kB / 0.6123 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.678, allocations: 272.1 kB / 0.6125 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.678, allocations: 4 kB / 0.6125 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.678, allocations: 0 / 0.6125 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.678, allocations: 3.984 kB / 0.6125 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.6785, allocations: 301.3 kB / 0.6128 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.611e-05/0.6785, allocations: 27.92 kB / 0.6128 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.6787, allocations: 27.97 kB / 0.6129 GB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.6787, allocations: 8 kB / 0.6129 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.6787, allocations: 8 kB / 0.6129 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.6787, allocations: 4 kB / 0.6129 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6787, allocations: 4 kB / 0.6129 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.6792, allocations: 473.2 kB / 0.6133 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.952e-05/0.6793, allocations: 108.7 kB / 0.6134 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.6794, allocations: 4 kB / 0.6134 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.6797, allocations: 27.97 kB / 0.6135 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.6797, allocations: 11.98 kB / 0.6135 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.6798, allocations: 11.98 kB / 0.6135 GB, free: 6.297 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002652/0.68, allocations: 282.1 kB / 0.6138 GB, free: 6.023 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.68, allocations: 0 / 0.6138 GB, free: 6.023 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005122/0.6806, allocations: 103.8 kB / 0.6139 GB, free: 5.922 MB / 426.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0009941/0.6816, allocations: 1.226 MB / 0.6151 GB, free: 4.664 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004709/0.682, allocations: 381.8 kB / 0.6154 GB, free: 4.254 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6821, allocations: 0 / 0.6154 GB, free: 4.254 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.6823, allocations: 246.1 kB / 0.6157 GB, free: 3.977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.6827, allocations: 73.56 kB / 0.6157 GB, free: 3.906 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.6839, allocations: 0.537 MB / 0.6163 GB, free: 3.324 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.6843, allocations: 0.8028 MB / 0.617 GB, free: 2.496 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001657/0.6845, allocations: 62.92 kB / 0.6171 GB, free: 2.438 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.6846, allocations: 87.41 kB / 0.6172 GB, free: 2.352 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.6846, allocations: 0 / 0.6172 GB, free: 2.352 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.7062, allocations: 8.522 MB / 0.6255 GB, free: 10.03 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.7065, allocations: 198.2 kB / 0.6257 GB, free: 9.805 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/2.877, allocations: 2.672 kB / 0.6257 GB, free: 9.805 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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_turbulent_res.mat does not exist to compare? outputFormat=mat