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.001501/0.001501, allocations: 183.2 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.657/1.657, 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.0007885/0.0007885, allocations: 89.84 kB / 267.1 MB, free: 9.273 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.3762/0.3762, allocations: 43.48 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.465e-05, allocations: 4 kB / 425.4 MB, free: 8.762 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 58.85 MB / 484.3 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4825, allocations: 90.61 MB / 0.5614 GB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.4829, allocations: 99.92 kB / 0.5615 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03355/0.5165, allocations: 11.92 MB / 0.5732 GB, free: 2.219 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.5165, allocations: 0 / 0.5732 GB, free: 2.219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.5166, allocations: 4 kB / 0.5732 GB, free: 2.215 MB / 394.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.0007036/0.5173, allocations: 497.1 kB / 0.5736 GB, free: 1.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5173, allocations: 15.97 kB / 0.5736 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.956e-05/0.5174, allocations: 66.53 kB / 0.5737 GB, free: 1.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.5175, allocations: 35.06 kB / 0.5737 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.5178, allocations: 230.7 kB / 0.574 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.5178, allocations: 24.55 kB / 0.574 GB, free: 1.277 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.5179, allocations: 27.94 kB / 0.574 GB, free: 1.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.5184, allocations: 342.1 kB / 0.5743 GB, free: 0.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.5185, allocations: 5.375 kB / 0.5743 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.5185, allocations: 8 kB / 0.5744 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/0.5185, allocations: 20.77 kB / 0.5744 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.519, allocations: 346.9 kB / 0.5747 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.5203, allocations: 0.8625 MB / 0.5755 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.5207, allocations: 244.4 kB / 0.5758 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.5209, allocations: 80.86 kB / 0.5759 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.5209, allocations: 4.422 kB / 0.5759 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.5209, allocations: 34.56 kB / 0.5759 GB, free: 15.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.5209, allocations: 0 / 0.5759 GB, free: 15.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004232/0.5214, allocations: 221.1 kB / 0.5761 GB, free: 15.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.5214, allocations: 51.47 kB / 0.5762 GB, free: 14.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.5217, allocations: 307.3 kB / 0.5764 GB, free: 14.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.5218, allocations: 31.95 kB / 0.5765 GB, free: 14.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.5219, allocations: 171.9 kB / 0.5766 GB, free: 14.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.5219, allocations: 63.19 kB / 0.5767 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.522, allocations: 0 / 0.5767 GB, free: 14.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5221, allocations: 342.8 kB / 0.577 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.5223, allocations: 80.41 kB / 0.5771 GB, free: 13.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.5225, allocations: 176.9 kB / 0.5773 GB, free: 13.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.5227, allocations: 113.2 kB / 0.5774 GB, free: 13.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5227, allocations: 4 kB / 0.5774 GB, free: 13.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004691/0.5231, allocations: 314.9 kB / 0.5777 GB, free: 13.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5232, allocations: 17.09 kB / 0.5777 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5232, allocations: 0 / 0.5777 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.5232, allocations: 8 kB / 0.5777 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.5238, allocations: 123.8 kB / 0.5778 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.5258, allocations: 3.645 MB / 0.5814 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.526, allocations: 47.55 kB / 0.5814 GB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.526, allocations: 15.94 kB / 0.5814 GB, free: 9.336 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.0001263/0.5262, allocations: 116.9 kB / 0.5816 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.5262, allocations: 31.84 kB / 0.5816 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.5268, allocations: 311.3 kB / 0.5819 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.5268, allocations: 0 / 0.5819 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5269, allocations: 0 / 0.5819 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5269, allocations: 4 kB / 0.5819 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.5272, allocations: 293.4 kB / 0.5822 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5273, allocations: 0 / 0.5822 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.5278, allocations: 111.8 kB / 0.5823 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.5278, allocations: 3.953 kB / 0.5823 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.5278, allocations: 8 kB / 0.5823 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.5297, allocations: 3.649 MB / 0.5858 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5298, allocations: 0 / 0.5858 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.5302, allocations: 317.9 kB / 0.5862 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.5303, allocations: 104.7 kB / 0.5863 GB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.5303, allocations: 4 kB / 0.5863 GB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.5305, allocations: 16.08 kB / 0.5863 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.5306, allocations: 15.92 kB / 0.5863 GB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.5306, allocations: 11.98 kB / 0.5863 GB, free: 4.137 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000247/0.5309, allocations: 239.1 kB / 0.5865 GB, free: 3.902 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5309, allocations: 0 / 0.5865 GB, free: 3.902 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004173/0.5313, allocations: 83.84 kB / 0.5866 GB, free: 3.82 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.0009043/0.5322, allocations: 0.9088 MB / 0.5875 GB, free: 2.883 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007614/0.533, allocations: 262.7 kB / 0.5877 GB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.533, allocations: 0 / 0.5877 GB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005072/0.5335, allocations: 155.8 kB / 0.5879 GB, free: 2.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.5339, allocations: 61.81 kB / 0.588 GB, free: 2.414 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009625/0.5348, allocations: 495 kB / 0.5884 GB, free: 1.902 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.5352, allocations: 0.7951 MB / 0.5892 GB, free: 1.082 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.5354, allocations: 82.88 kB / 0.5893 GB, free: 1.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5355, allocations: 71.41 kB / 0.5893 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5355, allocations: 0 / 0.5893 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.5572, allocations: 7.968 MB / 0.5971 GB, free: 9.051 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.5574, allocations: 221.4 kB / 0.5973 GB, free: 8.828 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.733, allocations: 0 / 0.5973 GB, free: 8.828 MB / 426.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