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.001844/0.001844, allocations: 183 kB / 13.19 MB, free: 2.129 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.545/1.545, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008737/0.0008732, allocations: 90.59 kB / 267.1 MB, free: 9.277 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.4129/0.4129, allocations: 43.47 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.664e-05/3.665e-05, allocations: 4 kB / 425.4 MB, free: 8.766 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1357, allocations: 58.84 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.5334, allocations: 92.68 MB / 0.5634 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5337, allocations: 91.94 kB / 0.5635 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03723/0.571, allocations: 13.49 MB / 0.5767 GB, free: 14.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.571, allocations: 0 / 0.5767 GB, free: 14.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.571, allocations: 4 kB / 0.5767 GB, free: 14.62 MB / 410.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.0007761/0.5718, allocations: 0.5591 MB / 0.5772 GB, free: 14.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.5719, allocations: 12.03 kB / 0.5773 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.398e-05/0.5719, allocations: 66.53 kB / 0.5773 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.572, allocations: 27.62 kB / 0.5773 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.5723, allocations: 254.5 kB / 0.5776 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.5723, allocations: 22.16 kB / 0.5776 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.5724, allocations: 24 kB / 0.5776 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.573, allocations: 412.1 kB / 0.578 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.573, allocations: 0 / 0.578 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.573, allocations: 12 kB / 0.578 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.5731, allocations: 16.55 kB / 0.5781 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.5735, allocations: 262 kB / 0.5783 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.575, allocations: 1.116 MB / 0.5794 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.5754, allocations: 219.8 kB / 0.5796 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.5755, allocations: 74.53 kB / 0.5797 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.5755, allocations: 12.09 kB / 0.5797 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.5756, allocations: 38.5 kB / 0.5797 GB, free: 11.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.5756, allocations: 4 kB / 0.5797 GB, free: 11.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004874/0.5761, allocations: 209.2 kB / 0.5799 GB, free: 11.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.5762, allocations: 108.9 kB / 0.58 GB, free: 10.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.5766, allocations: 363.4 kB / 0.5804 GB, free: 10.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.5766, allocations: 25.7 kB / 0.5804 GB, free: 10.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.5767, allocations: 187.9 kB / 0.5806 GB, free: 10.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.5768, allocations: 51.3 kB / 0.5806 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.5768, allocations: 4.062 kB / 0.5806 GB, free: 10.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5769, allocations: 346.8 kB / 0.581 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.5771, allocations: 88.17 kB / 0.581 GB, free: 9.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.5773, allocations: 206.5 kB / 0.5812 GB, free: 9.645 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.5775, allocations: 123.8 kB / 0.5814 GB, free: 9.523 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5775, allocations: 0 / 0.5814 GB, free: 9.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005397/0.5781, allocations: 336.8 kB / 0.5817 GB, free: 9.188 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5781, allocations: 8 kB / 0.5817 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.597e-05/0.5782, allocations: 19.98 kB / 0.5817 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.5782, allocations: 8.531 kB / 0.5817 GB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.5785, allocations: 63.89 kB / 0.5818 GB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.5785, allocations: 9.109 kB / 0.5818 GB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.5788, allocations: 59.56 kB / 0.5818 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.5789, allocations: 19.94 kB / 0.5819 GB, free: 9.004 MB / 410.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.0001142/0.579, allocations: 128.9 kB / 0.582 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.5791, allocations: 27.62 kB / 0.582 GB, free: 8.844 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005192/0.5796, allocations: 255.6 kB / 0.5823 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.5796, allocations: 4 kB / 0.5823 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5796, allocations: 4 kB / 0.5823 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.5797, allocations: 0 / 0.5823 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.5802, allocations: 317.3 kB / 0.5826 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-05/0.5803, allocations: 15.98 kB / 0.5826 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.5805, allocations: 35.91 kB / 0.5826 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.5805, allocations: 0 / 0.5826 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.5805, allocations: 4 kB / 0.5826 GB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.5805, allocations: 3.984 kB / 0.5826 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5805, allocations: 8 kB / 0.5826 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.5811, allocations: 473 kB / 0.5831 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.5812, allocations: 112.7 kB / 0.5832 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.5813, allocations: 4.094 kB / 0.5832 GB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.5815, allocations: 27.92 kB / 0.5832 GB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.5816, allocations: 27.86 kB / 0.5832 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.5816, allocations: 4 kB / 0.5833 GB, free: 7.477 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002945/0.5819, allocations: 282.1 kB / 0.5835 GB, free: 7.203 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.582, allocations: 0 / 0.5835 GB, free: 7.203 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005412/0.5825, allocations: 103.8 kB / 0.5836 GB, free: 7.102 MB / 410.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.001021/0.5835, allocations: 1.226 MB / 0.5848 GB, free: 5.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004692/0.584, allocations: 374.8 kB / 0.5852 GB, free: 5.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.584, allocations: 0 / 0.5852 GB, free: 5.438 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.5843, allocations: 246.1 kB / 0.5854 GB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.5847, allocations: 66.52 kB / 0.5855 GB, free: 5.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.586, allocations: 0.536 MB / 0.586 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.5865, allocations: 0.8067 MB / 0.5868 GB, free: 3.691 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.5867, allocations: 67.75 kB / 0.5869 GB, free: 3.629 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.5868, allocations: 84.81 kB / 0.5869 GB, free: 3.547 MB / 410.7 MB Notification: Performance of SimCode: time 2.585e-06/0.5869, allocations: 4 kB / 0.5869 GB, free: 3.543 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.6071, allocations: 8.531 MB / 0.5953 GB, free: 11.11 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.6074, allocations: 195.6 kB / 0.5955 GB, free: 10.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.657, allocations: 3.953 kB / 0.5955 GB, free: 10.88 MB / 426.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