Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002169/0.002169, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002151/0.00215, allocations: 97.77 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3536/0.3536, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.968e-05, allocations: 0 / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4204, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.5924, allocations: 92.02 MB / 0.5559 GB, free: 7.172 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/0.5929, allocations: 99.44 kB / 0.556 GB, free: 7.078 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06445/0.6573, allocations: 13.35 MB / 0.569 GB, free: 9.621 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6574, allocations: 0 / 0.569 GB, free: 9.621 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.6574, allocations: 7.938 kB / 0.569 GB, free: 9.613 MB / 411.1 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.001276/0.6587, allocations: 0.5573 MB / 0.5696 GB, free: 9.008 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/0.6588, allocations: 8.031 kB / 0.5696 GB, free: 9 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.6589, allocations: 35.58 kB / 0.5696 GB, free: 8.965 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.6594, allocations: 250.5 kB / 0.5698 GB, free: 8.68 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.6594, allocations: 8 kB / 0.5698 GB, free: 8.672 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.6595, allocations: 16 kB / 0.5699 GB, free: 8.656 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006508/0.6602, allocations: 237.2 kB / 0.5701 GB, free: 8.426 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008329/0.661, allocations: 365.6 kB / 0.5704 GB, free: 8.055 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.6611, allocations: 3.984 kB / 0.5704 GB, free: 8.051 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.6611, allocations: 0 / 0.5704 GB, free: 8.051 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-05/0.6612, allocations: 20.55 kB / 0.5705 GB, free: 8.027 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.6635, allocations: 1.01 MB / 0.5714 GB, free: 6.969 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/0.6641, allocations: 207.8 kB / 0.5716 GB, free: 6.738 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.6643, allocations: 78.61 kB / 0.5717 GB, free: 6.652 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.6644, allocations: 7.938 kB / 0.5717 GB, free: 6.645 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.6644, allocations: 42.55 kB / 0.5718 GB, free: 6.594 MB / 411.1 MB Notification: Performance of pre-optimization done (n=14): time 2.625e-06/0.6644, allocations: 0 / 0.5718 GB, free: 6.594 MB / 411.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006971/0.6652, allocations: 193.4 kB / 0.5719 GB, free: 6.398 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.6652, allocations: 102.8 kB / 0.572 GB, free: 6.273 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.6656, allocations: 215.9 kB / 0.5723 GB, free: 6.055 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.6656, allocations: 25.7 kB / 0.5723 GB, free: 6.023 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.6658, allocations: 265.9 kB / 0.5725 GB, free: 5.762 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.511e-05/0.6659, allocations: 55.25 kB / 0.5726 GB, free: 5.707 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.666, allocations: 0 / 0.5726 GB, free: 5.707 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6661, allocations: 326.8 kB / 0.5729 GB, free: 5.379 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.6664, allocations: 84.23 kB / 0.573 GB, free: 5.293 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.6667, allocations: 191.6 kB / 0.5732 GB, free: 5.051 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.6671, allocations: 123.8 kB / 0.5733 GB, free: 4.93 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6671, allocations: 0 / 0.5733 GB, free: 4.93 MB / 411.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008569/0.668, allocations: 301.3 kB / 0.5736 GB, free: 4.629 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.668, allocations: 8 kB / 0.5736 GB, free: 4.621 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.318e-05/0.6681, allocations: 19.98 kB / 0.5736 GB, free: 4.602 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.6681, allocations: 4 kB / 0.5736 GB, free: 4.598 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.6686, allocations: 59.89 kB / 0.5736 GB, free: 4.539 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.6687, allocations: 12.19 kB / 0.5737 GB, free: 4.527 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.6691, allocations: 39.81 kB / 0.5737 GB, free: 4.488 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.6692, allocations: 12 kB / 0.5737 GB, free: 4.477 MB / 411.1 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.0001586/0.6694, allocations: 128.9 kB / 0.5738 GB, free: 4.344 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006266/0.67, allocations: 189.4 kB / 0.574 GB, free: 4.152 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.6701, allocations: 19.91 kB / 0.574 GB, free: 4.133 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008205/0.671, allocations: 251.1 kB / 0.5743 GB, free: 3.887 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.671, allocations: 4 kB / 0.5743 GB, free: 3.883 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.671, allocations: 0 / 0.5743 GB, free: 3.883 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.671, allocations: 0 / 0.5743 GB, free: 3.883 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.6717, allocations: 266 kB / 0.5745 GB, free: 3.586 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.818e-05/0.6718, allocations: 31.91 kB / 0.5746 GB, free: 3.555 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.6721, allocations: 27.97 kB / 0.5746 GB, free: 3.527 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.6721, allocations: 4 kB / 0.5746 GB, free: 3.523 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.6722, allocations: 8 kB / 0.5746 GB, free: 3.516 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6722, allocations: 0 / 0.5746 GB, free: 3.516 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6722, allocations: 0 / 0.5746 GB, free: 3.516 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.6729, allocations: 461.2 kB / 0.575 GB, free: 3.035 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.6731, allocations: 104.8 kB / 0.5751 GB, free: 2.914 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.6731, allocations: 0 / 0.5751 GB, free: 2.914 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.6736, allocations: 35.97 kB / 0.5752 GB, free: 2.879 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.6737, allocations: 19.88 kB / 0.5752 GB, free: 2.859 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.6738, allocations: 8 kB / 0.5752 GB, free: 2.852 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.674, allocations: 160.5 kB / 0.5754 GB, free: 2.695 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.674, allocations: 0 / 0.5754 GB, free: 2.695 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008694/0.6749, allocations: 115.6 kB / 0.5755 GB, free: 2.582 MB / 411.1 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.001498/0.6764, allocations: 1.214 MB / 0.5766 GB, free: 1.332 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0007897/0.6772, allocations: 350 kB / 0.577 GB, free: 0.9531 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6773, allocations: 0 / 0.577 GB, free: 0.9531 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.6777, allocations: 247.2 kB / 0.5772 GB, free: 0.6758 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.6782, allocations: 24.78 kB / 0.5772 GB, free: 0.6523 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.6803, allocations: 0.5184 MB / 0.5777 GB, free: 88 kB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.6809, allocations: 0.8099 MB / 0.5785 GB, free: 15.25 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.6811, allocations: 79.41 kB / 0.5786 GB, free: 15.17 MB / 427.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6811, allocations: 0 / 0.5786 GB, free: 15.17 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.581/3.262, allocations: 5.949 MB / 0.5844 GB, free: 9.227 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat