Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009785/0.0009784, allocations: 99.59 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2771/0.2771, allocations: 45.14 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.373e-05, allocations: 4 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3897/0.5194, allocations: 92.13 MB / 0.5945 GB, free: 10.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.5198, allocations: 93.61 kB / 0.5945 GB, free: 10.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03444/0.5542, allocations: 12.12 MB / 0.6064 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5543, allocations: 0 / 0.6064 GB, free: 15.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.5543, allocations: 4.938 kB / 0.6064 GB, free: 15.96 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007168/0.555, allocations: 0.4929 MB / 0.6069 GB, free: 15.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.5551, allocations: 12.03 kB / 0.6069 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.5552, allocations: 27.62 kB / 0.6069 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.5555, allocations: 241.6 kB / 0.6071 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.5555, allocations: 8 kB / 0.6071 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.5556, allocations: 16 kB / 0.6072 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004355/0.556, allocations: 318.5 kB / 0.6075 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.5564, allocations: 305.4 kB / 0.6078 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5565, allocations: 3.984 kB / 0.6078 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.5565, allocations: 7.938 kB / 0.6078 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/0.5565, allocations: 20.77 kB / 0.6078 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.5578, allocations: 0.7569 MB / 0.6085 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.5581, allocations: 235.8 kB / 0.6087 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.5582, allocations: 75.31 kB / 0.6088 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.5583, allocations: 11.92 kB / 0.6088 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.5583, allocations: 37.88 kB / 0.6089 GB, free: 13.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.5583, allocations: 0 / 0.6089 GB, free: 13.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003696/0.5587, allocations: 197.8 kB / 0.6091 GB, free: 13.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.5587, allocations: 55.41 kB / 0.6091 GB, free: 13.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.5589, allocations: 178.1 kB / 0.6093 GB, free: 13.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.5589, allocations: 25.7 kB / 0.6093 GB, free: 13.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.963e-05/0.559, allocations: 173.8 kB / 0.6095 GB, free: 12.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.5591, allocations: 53.33 kB / 0.6095 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.5591, allocations: 0 / 0.6095 GB, free: 12.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5592, allocations: 330 kB / 0.6098 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.5593, allocations: 82.45 kB / 0.6099 GB, free: 12.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.5595, allocations: 162 kB / 0.6101 GB, free: 12.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.5597, allocations: 118.1 kB / 0.6102 GB, free: 12.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5597, allocations: 0 / 0.6102 GB, free: 12.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004159/0.5602, allocations: 282.8 kB / 0.6104 GB, free: 11.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5602, allocations: 7.938 kB / 0.6105 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5602, allocations: 7.953 kB / 0.6105 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5602, allocations: 4 kB / 0.6105 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.5608, allocations: 115.8 kB / 0.6106 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.5629, allocations: 3.664 MB / 0.6142 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.5631, allocations: 23.86 kB / 0.6142 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.5631, allocations: 19.3 kB / 0.6142 GB, free: 8.043 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.5633, allocations: 117.1 kB / 0.6143 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003358/0.5636, allocations: 198.8 kB / 0.6145 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.5637, allocations: 19.77 kB / 0.6145 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.5642, allocations: 279.8 kB / 0.6148 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5642, allocations: 4 kB / 0.6148 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5642, allocations: 4 kB / 0.6148 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5642, allocations: 3.984 kB / 0.6148 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.5645, allocations: 258.1 kB / 0.615 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5646, allocations: 0 / 0.615 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.5651, allocations: 103.9 kB / 0.6151 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.5651, allocations: 3.953 kB / 0.6151 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.5651, allocations: 7 kB / 0.6152 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.5673, allocations: 3.659 MB / 0.6187 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5673, allocations: 0 / 0.6187 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.5677, allocations: 301.9 kB / 0.619 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.5678, allocations: 100.8 kB / 0.6191 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.5678, allocations: 3.953 kB / 0.6191 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.568, allocations: 11.98 kB / 0.6191 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.568, allocations: 15.92 kB / 0.6191 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.5681, allocations: 7.984 kB / 0.6191 GB, free: 2.875 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.5682, allocations: 126.6 kB / 0.6193 GB, free: 2.766 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5682, allocations: 0 / 0.6193 GB, free: 2.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004766/0.5687, allocations: 87.44 kB / 0.6194 GB, free: 2.684 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000973/0.5696, allocations: 0.8983 MB / 0.6202 GB, free: 1.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006966/0.5704, allocations: 254.6 kB / 0.6205 GB, free: 1.559 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5704, allocations: 0 / 0.6205 GB, free: 1.559 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004537/0.5708, allocations: 146.9 kB / 0.6206 GB, free: 1.426 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.5711, allocations: 24.91 kB / 0.6206 GB, free: 1.406 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.5722, allocations: 452.5 kB / 0.6211 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.5726, allocations: 0.7978 MB / 0.6218 GB, free: 132 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.5727, allocations: 57.78 kB / 0.6219 GB, free: 76 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.777e-05/0.5729, allocations: 65.91 kB / 0.622 GB, free: 52 kB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5729, allocations: 0 / 0.622 GB, free: 52 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.6035, allocations: 5.047 MB / 0.6269 GB, free: 11.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/0.6038, allocations: 192.2 kB / 0.6271 GB, free: 10.85 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.366, allocations: 0 / 0.6271 GB, free: 10.85 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat