Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008451/0.000845, allocations: 90.14 kB / 261.8 MB, free: 1.68 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.3372/0.3372, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.142e-05, allocations: 4 kB / 418.4 MB, free: 28.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.161, allocations: 58.86 MB / 477.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.565/0.7261, allocations: 92.01 MB / 0.5559 GB, free: 2.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.7265, allocations: 97.5 kB / 0.556 GB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03712/0.7636, allocations: 13.34 MB / 0.569 GB, free: 7.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7636, allocations: 0 / 0.569 GB, free: 7.816 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.7637, allocations: 4 kB / 0.569 GB, free: 7.812 MB / 378.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.0008331/0.7645, allocations: 0.5603 MB / 0.5696 GB, free: 7.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.7646, allocations: 16.02 kB / 0.5696 GB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.7646, allocations: 35.58 kB / 0.5696 GB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.765, allocations: 253.9 kB / 0.5699 GB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.765, allocations: 12 kB / 0.5699 GB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.765, allocations: 12 kB / 0.5699 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003643/0.7654, allocations: 234.4 kB / 0.5701 GB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.766, allocations: 362.1 kB / 0.5705 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.766, allocations: 4 kB / 0.5705 GB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.766, allocations: 0 / 0.5705 GB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.7661, allocations: 12.56 kB / 0.5705 GB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.7674, allocations: 1.025 MB / 0.5715 GB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.7677, allocations: 203.2 kB / 0.5717 GB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.7678, allocations: 77.47 kB / 0.5717 GB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.7679, allocations: 8.031 kB / 0.5718 GB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.7679, allocations: 38.5 kB / 0.5718 GB, free: 5.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.7679, allocations: 0 / 0.5718 GB, free: 5.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004474/0.7684, allocations: 188.6 kB / 0.572 GB, free: 4.906 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.7684, allocations: 106.8 kB / 0.5721 GB, free: 4.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.7687, allocations: 218.5 kB / 0.5723 GB, free: 4.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.7687, allocations: 25.7 kB / 0.5723 GB, free: 4.559 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.7688, allocations: 214.1 kB / 0.5725 GB, free: 4.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.7689, allocations: 47.14 kB / 0.5726 GB, free: 4.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.7689, allocations: 0 / 0.5726 GB, free: 4.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.769, allocations: 334.5 kB / 0.5729 GB, free: 4.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.7692, allocations: 83.66 kB / 0.573 GB, free: 3.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.7694, allocations: 194.9 kB / 0.5731 GB, free: 3.703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.7695, allocations: 119.3 kB / 0.5733 GB, free: 3.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.7696, allocations: 0 / 0.5733 GB, free: 3.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000491/0.7701, allocations: 311.4 kB / 0.5735 GB, free: 3.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7701, allocations: 7.984 kB / 0.5736 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.272e-05/0.7701, allocations: 23.98 kB / 0.5736 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.7702, allocations: 4.531 kB / 0.5736 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.7704, allocations: 55.91 kB / 0.5736 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.7704, allocations: 15.91 kB / 0.5737 GB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.7707, allocations: 35.83 kB / 0.5737 GB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.7707, allocations: 19.86 kB / 0.5737 GB, free: 3.164 MB / 378.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.0001133/0.7709, allocations: 125 kB / 0.5738 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003323/0.7712, allocations: 192 kB / 0.574 GB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.7713, allocations: 15.81 kB / 0.574 GB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.7717, allocations: 246.3 kB / 0.5743 GB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.7717, allocations: 4.062 kB / 0.5743 GB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7717, allocations: 4 kB / 0.5743 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7717, allocations: 0 / 0.5743 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.7721, allocations: 276.6 kB / 0.5745 GB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/0.7722, allocations: 19.98 kB / 0.5745 GB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.7723, allocations: 31.91 kB / 0.5746 GB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.7723, allocations: 4 kB / 0.5746 GB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.7724, allocations: 7.984 kB / 0.5746 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7724, allocations: 4 kB / 0.5746 GB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7724, allocations: 0 / 0.5746 GB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.7728, allocations: 460.2 kB / 0.575 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.7729, allocations: 96.91 kB / 0.5751 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.7729, allocations: 4 kB / 0.5751 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.7732, allocations: 27.98 kB / 0.5752 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.7732, allocations: 27.89 kB / 0.5752 GB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.7733, allocations: 11.94 kB / 0.5752 GB, free: 1.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.7734, allocations: 161.8 kB / 0.5753 GB, free: 1.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7734, allocations: 0 / 0.5753 GB, free: 1.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005551/0.774, allocations: 115.6 kB / 0.5755 GB, free: 1.391 MB / 378.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.0008791/0.7748, allocations: 1.202 MB / 0.5766 GB, free: 180 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004285/0.7753, allocations: 355.4 kB / 0.577 GB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7753, allocations: 4.125 kB / 0.577 GB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.7755, allocations: 244.2 kB / 0.5772 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.7758, allocations: 30.94 kB / 0.5772 GB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.777, allocations: 0.4931 MB / 0.5777 GB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.7774, allocations: 0.8132 MB / 0.5785 GB, free: 14.19 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.7775, allocations: 41.83 kB / 0.5786 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.7776, allocations: 85.02 kB / 0.5786 GB, free: 14.12 MB / 394.7 MB Notification: Performance of SimCode: time 3.8e-07/0.7776, allocations: 0 / 0.5786 GB, free: 14.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.8043, allocations: 5.607 MB / 0.5841 GB, free: 8.516 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.8046, allocations: 192 kB / 0.5843 GB, free: 8.316 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.665, allocations: 2.406 kB / 0.5843 GB, free: 8.316 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat