Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001584/0.001584, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.545/1.545, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008197/0.0008197, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.2042/0.2042, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 16 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 58.85 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4521, allocations: 90 MB / 0.5668 GB, free: 9.617 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004746/0.4527, allocations: 99.56 kB / 0.5669 GB, free: 9.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01941/0.4721, allocations: 6.733 MB / 0.5734 GB, free: 3.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.4722, allocations: 3.938 kB / 0.5734 GB, free: 3.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.4722, allocations: 4 kB / 0.5734 GB, free: 3.797 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008594/0.4731, allocations: 442.7 kB / 0.5739 GB, free: 3.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.113e-05/0.4732, allocations: 16.03 kB / 0.5739 GB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.4733, allocations: 49.67 kB / 0.5739 GB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.069e-05/0.4734, allocations: 11.81 kB / 0.5739 GB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.4737, allocations: 193.5 kB / 0.5741 GB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.4738, allocations: 11.06 kB / 0.5741 GB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.4738, allocations: 11.31 kB / 0.5741 GB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.4742, allocations: 176 kB / 0.5743 GB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4743, allocations: 0 / 0.5743 GB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.4743, allocations: 7.438 kB / 0.5743 GB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.4743, allocations: 11.98 kB / 0.5743 GB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.4748, allocations: 175.8 kB / 0.5745 GB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.4759, allocations: 499.7 kB / 0.575 GB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.4763, allocations: 159.3 kB / 0.5751 GB, free: 2.062 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.4764, allocations: 4 kB / 0.5751 GB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.4764, allocations: 38.31 kB / 0.5752 GB, free: 2.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.4764, allocations: 0 / 0.5752 GB, free: 2.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006223/0.477, allocations: 210.5 kB / 0.5754 GB, free: 1.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.4771, allocations: 51.41 kB / 0.5754 GB, free: 1.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.4773, allocations: 185.7 kB / 0.5756 GB, free: 1.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.4773, allocations: 29.7 kB / 0.5756 GB, free: 1.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.4774, allocations: 111.9 kB / 0.5757 GB, free: 1.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.4775, allocations: 35.55 kB / 0.5758 GB, free: 1.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.4775, allocations: 3.938 kB / 0.5758 GB, free: 1.418 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4777, allocations: 330.6 kB / 0.5761 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.4778, allocations: 54.33 kB / 0.5761 GB, free: 1.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.478, allocations: 73.33 kB / 0.5762 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.4782, allocations: 69.58 kB / 0.5763 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4782, allocations: 0 / 0.5763 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003965/0.4786, allocations: 181.1 kB / 0.5764 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4786, allocations: 8 kB / 0.5764 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4786, allocations: 0 / 0.5764 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4786, allocations: 0 / 0.5764 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.479, allocations: 47.95 kB / 0.5765 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009571/0.4799, allocations: 1.224 MB / 0.5777 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.4801, allocations: 23.83 kB / 0.5777 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.4801, allocations: 7.938 kB / 0.5777 GB, free: 15.4 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.0001715/0.4803, allocations: 140.2 kB / 0.5779 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.4803, allocations: 15.86 kB / 0.5779 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.4808, allocations: 196.8 kB / 0.5781 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4808, allocations: 0 / 0.5781 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4808, allocations: 0 / 0.5781 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4808, allocations: 7.984 kB / 0.5781 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.4811, allocations: 213.1 kB / 0.5783 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4812, allocations: 4 kB / 0.5783 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.4814, allocations: 51.89 kB / 0.5783 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4814, allocations: 0 / 0.5783 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.4814, allocations: 15.12 kB / 0.5783 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007377/0.4822, allocations: 1.212 MB / 0.5795 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4822, allocations: 3.938 kB / 0.5795 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.4826, allocations: 258.6 kB / 0.5798 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.4827, allocations: 96.84 kB / 0.5799 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.4828, allocations: 4 kB / 0.5799 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.4829, allocations: 11.75 kB / 0.5799 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.483, allocations: 11.92 kB / 0.5799 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.483, allocations: 7.938 kB / 0.5799 GB, free: 13.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.4831, allocations: 145.3 kB / 0.58 GB, free: 12.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4831, allocations: 0 / 0.58 GB, free: 12.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003334/0.4835, allocations: 43.25 kB / 0.5801 GB, free: 12.95 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 () * 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.0008594/0.4843, allocations: 0.8457 MB / 0.5809 GB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004702/0.4848, allocations: 143.4 kB / 0.581 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4848, allocations: 0 / 0.581 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.4851, allocations: 91.17 kB / 0.5811 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.4854, allocations: 28.23 kB / 0.5812 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.4874, allocations: 1.387 MB / 0.5825 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.4877, allocations: 0.7356 MB / 0.5832 GB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.4878, allocations: 33.05 kB / 0.5833 GB, free: 9.746 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.628e-05/0.4879, allocations: 38.86 kB / 0.5833 GB, free: 9.727 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4879, allocations: 0 / 0.5833 GB, free: 9.727 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.5057, allocations: 4.236 MB / 0.5874 GB, free: 5.566 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003406/0.5061, allocations: 253 kB / 0.5877 GB, free: 5.234 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.144, allocations: 8.062 kB / 0.5877 GB, free: 5.227 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat