Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.003062/0.003062, allocations: 181.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.00111/0.001109, allocations: 98.61 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2834/0.2834, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.334e-05, allocations: 0 / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1341, allocations: 58.85 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4823/0.6164, allocations: 91.82 MB / 0.5626 GB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/0.6168, allocations: 91.06 kB / 0.5627 GB, free: 11.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04355/0.6604, allocations: 9.457 MB / 0.5719 GB, free: 3.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6605, allocations: 0 / 0.5719 GB, free: 3.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.6605, allocations: 4 kB / 0.5719 GB, free: 3.098 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00123/0.6617, allocations: 0.5704 MB / 0.5725 GB, free: 2.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.6618, allocations: 12.03 kB / 0.5725 GB, free: 2.496 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.662, allocations: 88.08 kB / 0.5726 GB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.6621, allocations: 43.52 kB / 0.5726 GB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.6626, allocations: 276.2 kB / 0.5729 GB, free: 2.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.6627, allocations: 31.41 kB / 0.5729 GB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/0.6628, allocations: 42.98 kB / 0.5729 GB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.664, allocations: 0.5154 MB / 0.5734 GB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.6641, allocations: 0 / 0.5734 GB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/0.6641, allocations: 18 kB / 0.5735 GB, free: 1.633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/0.6642, allocations: 32.97 kB / 0.5735 GB, free: 1.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.6655, allocations: 0.5397 MB / 0.574 GB, free: 1.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.6685, allocations: 1.192 MB / 0.5752 GB, free: 104 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.6696, allocations: 362.1 kB / 0.5755 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.67, allocations: 121.8 kB / 0.5756 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.696e-05/0.67, allocations: 16.16 kB / 0.5757 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.6701, allocations: 34.75 kB / 0.5757 GB, free: 15.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 3.236e-06/0.6701, allocations: 0 / 0.5757 GB, free: 15.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009914/0.6711, allocations: 312.4 kB / 0.576 GB, free: 15.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.6712, allocations: 55.41 kB / 0.576 GB, free: 15.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007623/0.6719, allocations: 396.5 kB / 0.5764 GB, free: 14.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/0.672, allocations: 29.27 kB / 0.5764 GB, free: 14.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.6722, allocations: 224.8 kB / 0.5767 GB, free: 14.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.6723, allocations: 80.91 kB / 0.5767 GB, free: 14.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.6724, allocations: 3.5 kB / 0.5767 GB, free: 14.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6725, allocations: 322.5 kB / 0.577 GB, free: 14.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.6728, allocations: 106.6 kB / 0.5771 GB, free: 14.24 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.6732, allocations: 102.3 kB / 0.5772 GB, free: 14.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.6735, allocations: 116.3 kB / 0.5774 GB, free: 14.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6735, allocations: 0 / 0.5774 GB, free: 14.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008689/0.6744, allocations: 284.5 kB / 0.5776 GB, free: 13.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.6745, allocations: 4 kB / 0.5776 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6745, allocations: 4 kB / 0.5776 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.6745, allocations: 4 kB / 0.5776 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.676, allocations: 154.9 kB / 0.5778 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004368/0.6804, allocations: 5.512 MB / 0.5832 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.6809, allocations: 51.08 kB / 0.5832 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/0.681, allocations: 19.53 kB / 0.5832 GB, free: 7.906 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.6812, allocations: 119.3 kB / 0.5833 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/0.6813, allocations: 35.53 kB / 0.5834 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.6826, allocations: 425.2 kB / 0.5838 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.6826, allocations: 4 kB / 0.5838 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6826, allocations: 3.938 kB / 0.5838 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6826, allocations: 0 / 0.5838 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009047/0.6836, allocations: 371.9 kB / 0.5842 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.6836, allocations: 0 / 0.5842 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.685, allocations: 155.2 kB / 0.5843 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.434e-05/0.6851, allocations: 4 kB / 0.5843 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.6851, allocations: 11.23 kB / 0.5843 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004683/0.6898, allocations: 5.512 MB / 0.5897 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6899, allocations: 3.938 kB / 0.5897 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.6909, allocations: 424.1 kB / 0.5901 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.6911, allocations: 115.5 kB / 0.5902 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/0.6912, allocations: 6.688 kB / 0.5902 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.6916, allocations: 18.98 kB / 0.5902 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.6917, allocations: 15.97 kB / 0.5903 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.6918, allocations: 11.5 kB / 0.5903 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006192/0.6924, allocations: 324 kB / 0.5906 GB, free: 360 kB / 394.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.6925, allocations: 4 kB / 0.5906 GB, free: 356 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006502/0.6931, allocations: 119.5 kB / 0.5907 GB, free: 244 kB / 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001649/0.6948, allocations: 1.018 MB / 0.5917 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.6966, allocations: 343 kB / 0.592 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6966, allocations: 0 / 0.592 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.698, allocations: 229.6 kB / 0.5922 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.6988, allocations: 85.34 kB / 0.5923 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.7011, allocations: 0.7021 MB / 0.593 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.7018, allocations: 0.8527 MB / 0.5938 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.7021, allocations: 122.5 kB / 0.5939 GB, free: 13.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7021, allocations: 0 / 0.5939 GB, free: 13.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.366/4.068, allocations: 20.44 MB / 0.6139 GB, free: 8.621 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat