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_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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.001494/0.001493, 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.463/2.463, 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.001723/0.001723, allocations: 96.34 kB / 270.9 MB, free: 8.383 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.523/0.523, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004749, allocations: 8 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1358, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.6113, allocations: 90 MB / 0.5667 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/0.6118, allocations: 94.16 kB / 0.5668 GB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03199/0.6438, allocations: 6.756 MB / 0.5734 GB, free: 5.656 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6439, allocations: 0 / 0.5734 GB, free: 5.656 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.6439, allocations: 4 kB / 0.5734 GB, free: 5.652 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008564/0.6448, allocations: 438 kB / 0.5738 GB, free: 5.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.6448, allocations: 11.97 kB / 0.5738 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.471e-05/0.6449, allocations: 46.56 kB / 0.5739 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.645, allocations: 15.25 kB / 0.5739 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.6453, allocations: 195 kB / 0.5741 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.6453, allocations: 11.94 kB / 0.5741 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.6454, allocations: 15.94 kB / 0.5741 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.6459, allocations: 165.6 kB / 0.5743 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.646, allocations: 2.812 kB / 0.5743 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.646, allocations: 4 kB / 0.5743 GB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.6461, allocations: 12.48 kB / 0.5743 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006263/0.6467, allocations: 179.1 kB / 0.5745 GB, free: 4.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.6479, allocations: 0.496 MB / 0.575 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.6486, allocations: 158.5 kB / 0.5751 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.6487, allocations: 4 kB / 0.5751 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.6487, allocations: 30.56 kB / 0.5751 GB, free: 3.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.465e-06/0.6488, allocations: 4 kB / 0.5751 GB, free: 3.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009981/0.6498, allocations: 213.5 kB / 0.5753 GB, free: 3.516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.6499, allocations: 55.41 kB / 0.5754 GB, free: 3.449 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.6502, allocations: 186.5 kB / 0.5756 GB, free: 3.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.6502, allocations: 25.7 kB / 0.5756 GB, free: 3.223 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.6503, allocations: 170.5 kB / 0.5758 GB, free: 3.055 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.6504, allocations: 31.55 kB / 0.5758 GB, free: 3.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.6504, allocations: 4 kB / 0.5758 GB, free: 3.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.6506, allocations: 318.8 kB / 0.5761 GB, free: 2.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.6509, allocations: 55.95 kB / 0.5762 GB, free: 2.645 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.6512, allocations: 71.45 kB / 0.5762 GB, free: 2.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.6514, allocations: 67.94 kB / 0.5763 GB, free: 2.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6515, allocations: 0 / 0.5763 GB, free: 2.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006568/0.6521, allocations: 169.8 kB / 0.5764 GB, free: 2.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6522, allocations: 11.12 kB / 0.5765 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6522, allocations: 0 / 0.5765 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.6522, allocations: 8.047 kB / 0.5765 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.6527, allocations: 47.95 kB / 0.5765 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.6538, allocations: 1.227 MB / 0.5777 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.6541, allocations: 23.81 kB / 0.5777 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.6541, allocations: 7.984 kB / 0.5777 GB, free: 0.9609 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002077/0.6543, allocations: 133.8 kB / 0.5779 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.6544, allocations: 19.77 kB / 0.5779 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007533/0.6552, allocations: 195 kB / 0.5781 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.6552, allocations: 4 kB / 0.5781 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6552, allocations: 0 / 0.5781 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6552, allocations: 0 / 0.5781 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.6556, allocations: 225.6 kB / 0.5783 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6556, allocations: 3.938 kB / 0.5783 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.6561, allocations: 39.97 kB / 0.5783 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.6561, allocations: 8 kB / 0.5783 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.6562, allocations: 7.953 kB / 0.5783 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.6572, allocations: 1.211 MB / 0.5795 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6572, allocations: 192 / 0.5795 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006929/0.6579, allocations: 267.3 kB / 0.5798 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-05/0.6581, allocations: 96.86 kB / 0.5799 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.6581, allocations: 4 kB / 0.5799 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.6583, allocations: 11.98 kB / 0.5799 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.6584, allocations: 4 kB / 0.5799 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.6584, allocations: 11.98 kB / 0.5799 GB, free: 14.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002146/0.6587, allocations: 149.2 kB / 0.58 GB, free: 14.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6587, allocations: 0 / 0.58 GB, free: 14.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004371/0.6591, allocations: 40 kB / 0.5801 GB, free: 14.41 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001279/0.6604, allocations: 0.8425 MB / 0.5809 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008626/0.6613, allocations: 143.8 kB / 0.581 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6613, allocations: 0 / 0.581 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.6619, allocations: 91.98 kB / 0.5811 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.6623, allocations: 24.67 kB / 0.5812 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.6652, allocations: 1.417 MB / 0.5825 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.6657, allocations: 0.7318 MB / 0.5833 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.6658, allocations: 39.36 kB / 0.5833 GB, free: 11.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6659, allocations: 0 / 0.5833 GB, free: 11.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.788/3.454, allocations: 4.21 MB / 0.5874 GB, free: 6.84 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat