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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001979/0.001978, 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.575/1.575, 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.001222/0.001222, allocations: 86.3 kB / 261.7 MB, free: 1.684 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.2002/0.2002, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.856e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 58.87 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4156/0.5424, allocations: 89.95 MB / 0.5539 GB, free: 5.109 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5427, allocations: 98.38 kB / 0.554 GB, free: 5.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03163/0.5744, allocations: 11.79 MB / 0.5655 GB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5744, allocations: 0 / 0.5655 GB, free: 11.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.5744, allocations: 4 kB / 0.5655 GB, free: 11.27 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006135/0.5751, allocations: 0.4904 MB / 0.566 GB, free: 10.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5751, allocations: 8.031 kB / 0.566 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.5752, allocations: 32.28 kB / 0.566 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.5755, allocations: 245 kB / 0.5663 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.5755, allocations: 8 kB / 0.5663 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.5755, allocations: 16 kB / 0.5663 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004059/0.5759, allocations: 312.8 kB / 0.5666 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.5764, allocations: 316.4 kB / 0.5669 GB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5764, allocations: 0 / 0.5669 GB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.5764, allocations: 3.938 kB / 0.5669 GB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/0.5765, allocations: 20.77 kB / 0.5669 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.5776, allocations: 0.747 MB / 0.5676 GB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.578, allocations: 235.6 kB / 0.5679 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.5781, allocations: 76.17 kB / 0.5679 GB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.5782, allocations: 15.94 kB / 0.5679 GB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.5782, allocations: 34.12 kB / 0.568 GB, free: 8.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.5782, allocations: 0 / 0.568 GB, free: 8.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003718/0.5786, allocations: 203.1 kB / 0.5682 GB, free: 8.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.5786, allocations: 55.41 kB / 0.5682 GB, free: 8.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.5788, allocations: 161.3 kB / 0.5684 GB, free: 8.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.5788, allocations: 25.7 kB / 0.5684 GB, free: 8.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.5789, allocations: 183 kB / 0.5686 GB, free: 8.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.5789, allocations: 62.75 kB / 0.5686 GB, free: 8.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.579, allocations: 0 / 0.5686 GB, free: 8.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5791, allocations: 322.1 kB / 0.5689 GB, free: 7.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.5792, allocations: 75.72 kB / 0.569 GB, free: 7.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.5794, allocations: 174.9 kB / 0.5692 GB, free: 7.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.5796, allocations: 103.3 kB / 0.5693 GB, free: 7.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5796, allocations: 3.984 kB / 0.5693 GB, free: 7.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004213/0.58, allocations: 277.8 kB / 0.5696 GB, free: 7.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.58, allocations: 8 kB / 0.5696 GB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.5801, allocations: 8.328 kB / 0.5696 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.5801, allocations: 8 kB / 0.5696 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/0.5807, allocations: 123.7 kB / 0.5697 GB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.5829, allocations: 3.671 MB / 0.5733 GB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.5831, allocations: 19.83 kB / 0.5733 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.5831, allocations: 15.62 kB / 0.5733 GB, free: 3.371 MB / 378.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.0001272/0.5833, allocations: 108.9 kB / 0.5734 GB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003191/0.5836, allocations: 204.2 kB / 0.5736 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.5836, allocations: 23.64 kB / 0.5736 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005084/0.5842, allocations: 278.1 kB / 0.5739 GB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5842, allocations: 4 kB / 0.5739 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5842, allocations: 4 kB / 0.5739 GB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5842, allocations: 3.938 kB / 0.5739 GB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.5845, allocations: 259.6 kB / 0.5742 GB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5845, allocations: 0 / 0.5742 GB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.585, allocations: 103.9 kB / 0.5743 GB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.585, allocations: 3.953 kB / 0.5743 GB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.5851, allocations: 11.86 kB / 0.5743 GB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.5869, allocations: 3.662 MB / 0.5778 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5869, allocations: 0 / 0.5778 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.5873, allocations: 302.4 kB / 0.5781 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.5874, allocations: 92.91 kB / 0.5782 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.5874, allocations: 7.953 kB / 0.5782 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.5876, allocations: 4 kB / 0.5782 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.5876, allocations: 20.06 kB / 0.5783 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.5877, allocations: 7.938 kB / 0.5783 GB, free: 14.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.887e-05/0.5878, allocations: 134.7 kB / 0.5784 GB, free: 14.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5878, allocations: 0 / 0.5784 GB, free: 14.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004319/0.5882, allocations: 79.77 kB / 0.5785 GB, free: 14.01 MB / 394.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.0007656/0.589, allocations: 0.8839 MB / 0.5793 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006487/0.5896, allocations: 259.5 kB / 0.5796 GB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5896, allocations: 0 / 0.5796 GB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.5901, allocations: 150.5 kB / 0.5797 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.5903, allocations: 19.31 kB / 0.5797 GB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.5913, allocations: 454.4 kB / 0.5802 GB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.5916, allocations: 0.7981 MB / 0.581 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000157/0.5918, allocations: 69.77 kB / 0.581 GB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.549e-05/0.5919, allocations: 65.53 kB / 0.5811 GB, free: 11.38 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5919, allocations: 0 / 0.5811 GB, free: 11.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.6198, allocations: 4.994 MB / 0.586 GB, free: 6.387 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003682/0.6203, allocations: 183.9 kB / 0.5861 GB, free: 6.199 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.475, allocations: 0 / 0.5861 GB, free: 6.199 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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_KC_res.mat does not exist to compare? outputFormat=mat