Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",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.001594/0.001594, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.008/2.008, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001105/0.001105, allocations: 80.14 kB / 270.9 MB, free: 8.398 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.528/0.528, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004588, allocations: 8 kB / 431.5 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4867/0.6209, allocations: 92.13 MB / 0.5688 GB, free: 10.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003981/0.6213, allocations: 98.92 kB / 0.5689 GB, free: 10.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04505/0.6664, allocations: 9.731 MB / 0.5784 GB, free: 420 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6664, allocations: 0 / 0.5784 GB, free: 420 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.6665, allocations: 4 kB / 0.5784 GB, free: 416 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001291/0.6678, allocations: 0.532 MB / 0.5789 GB, free: 15.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.663e-05/0.6679, allocations: 12.03 kB / 0.5789 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.336e-05/0.668, allocations: 46.55 kB / 0.579 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.668, allocations: 23.72 kB / 0.579 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.6684, allocations: 233.5 kB / 0.5792 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.6685, allocations: 12 kB / 0.5792 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.6685, allocations: 12 kB / 0.5793 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009138/0.6694, allocations: 295.7 kB / 0.5795 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6695, allocations: 0 / 0.5795 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.6695, allocations: 11.98 kB / 0.5796 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.6696, allocations: 11.94 kB / 0.5796 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.6706, allocations: 252.1 kB / 0.5798 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.6725, allocations: 0.7766 MB / 0.5806 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009702/0.6735, allocations: 239.7 kB / 0.5808 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/0.6735, allocations: 7.938 kB / 0.5808 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.6736, allocations: 42.55 kB / 0.5808 GB, free: 13.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 5.38e-06/0.6736, allocations: 96 / 0.5808 GB, free: 13.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.001869/0.6755, allocations: 0.5751 MB / 0.5814 GB, free: 13.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.6756, allocations: 102.8 kB / 0.5815 GB, free: 12.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.6761, allocations: 249.8 kB / 0.5817 GB, free: 12.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.6761, allocations: 29.77 kB / 0.5818 GB, free: 12.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.6763, allocations: 194.2 kB / 0.582 GB, free: 12.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.6764, allocations: 47.36 kB / 0.582 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.6764, allocations: 0 / 0.582 GB, free: 12.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6766, allocations: 322.8 kB / 0.5823 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/0.6771, allocations: 92.95 kB / 0.5824 GB, free: 12.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.6776, allocations: 152.9 kB / 0.5825 GB, free: 11.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.6782, allocations: 111.9 kB / 0.5826 GB, free: 11.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6782, allocations: 0 / 0.5826 GB, free: 11.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001177/0.6794, allocations: 273.3 kB / 0.5829 GB, free: 11.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.6794, allocations: 9.562 kB / 0.5829 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.876e-05/0.6795, allocations: 11.98 kB / 0.5829 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.6795, allocations: 0 / 0.5829 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.6799, allocations: 44.06 kB / 0.583 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.6799, allocations: 4 kB / 0.583 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.6803, allocations: 39.91 kB / 0.583 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.6804, allocations: 8 kB / 0.583 GB, free: 11.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002397/0.6806, allocations: 153.7 kB / 0.5832 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.6808, allocations: 27.67 kB / 0.5832 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008723/0.6816, allocations: 229.8 kB / 0.5834 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.6817, allocations: 11.98 kB / 0.5834 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.6817, allocations: 0 / 0.5834 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6817, allocations: 0 / 0.5834 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.6823, allocations: 269.4 kB / 0.5837 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.584e-05/0.6824, allocations: 8 kB / 0.5837 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.6827, allocations: 43.89 kB / 0.5837 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.6828, allocations: 0 / 0.5837 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.6828, allocations: 7.953 kB / 0.5837 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.247e-05/0.6828, allocations: 8 kB / 0.5837 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6828, allocations: 0 / 0.5837 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.6841, allocations: 0.5139 MB / 0.5842 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.6843, allocations: 96.83 kB / 0.5843 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.6843, allocations: 15.92 kB / 0.5844 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.6848, allocations: 19.98 kB / 0.5844 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.6849, allocations: 11.98 kB / 0.5844 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.6849, allocations: 11.98 kB / 0.5844 GB, free: 9.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003247/0.6852, allocations: 197.9 kB / 0.5846 GB, free: 9.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6853, allocations: 4 kB / 0.5846 GB, free: 9.652 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006657/0.6859, allocations: 75.94 kB / 0.5847 GB, free: 9.578 MB / 410.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002081/0.688, allocations: 1.285 MB / 0.5859 GB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.6892, allocations: 292.9 kB / 0.5862 GB, free: 7.953 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6893, allocations: 320 / 0.5862 GB, free: 7.953 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005949/0.6899, allocations: 201 kB / 0.5864 GB, free: 7.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.6905, allocations: 41.22 kB / 0.5864 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.6954, allocations: 2.383 MB / 0.5888 GB, free: 5.234 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.6959, allocations: 0.7634 MB / 0.5895 GB, free: 4.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.6961, allocations: 67.41 kB / 0.5896 GB, free: 4.375 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6962, allocations: 0 / 0.5896 GB, free: 4.375 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.692/3.389, allocations: 4.94 MB / 0.5944 GB, free: 15.46 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat