Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009927, allocations: 98.72 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3101/0.3102, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003069, allocations: 15.98 kB / 460 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2936, allocations: 61.89 MB / 0.5097 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1063/0.4, allocations: 91.1 MB / 0.5986 GB, free: 3.992 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.4003, allocations: 99.91 kB / 0.5987 GB, free: 3.898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01843/0.4188, allocations: 6.881 MB / 0.6054 GB, free: 12.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.058e-06/0.4188, allocations: 4 kB / 0.6054 GB, free: 12.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.4188, allocations: 0 / 0.6054 GB, free: 12.97 MB / 426.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.0005817/0.4194, allocations: 447 kB / 0.6059 GB, free: 12.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4195, allocations: 12.03 kB / 0.6059 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.4195, allocations: 38.56 kB / 0.6059 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.4196, allocations: 19.8 kB / 0.6059 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.4198, allocations: 194.9 kB / 0.6061 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.4198, allocations: 8 kB / 0.6061 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.4198, allocations: 7.953 kB / 0.6061 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.4202, allocations: 174.1 kB / 0.6063 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4202, allocations: 0 / 0.6063 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.4202, allocations: 3.984 kB / 0.6063 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.4203, allocations: 19.98 kB / 0.6063 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.4206, allocations: 173.6 kB / 0.6065 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.4215, allocations: 496 kB / 0.607 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.4219, allocations: 170.4 kB / 0.6071 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.4219, allocations: 3.984 kB / 0.6071 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.4219, allocations: 34.56 kB / 0.6072 GB, free: 11.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.422, allocations: 0 / 0.6072 GB, free: 11.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005151/0.4225, allocations: 213.5 kB / 0.6074 GB, free: 10.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.4225, allocations: 59.34 kB / 0.6074 GB, free: 10.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.4227, allocations: 182.6 kB / 0.6076 GB, free: 10.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.4227, allocations: 29.7 kB / 0.6076 GB, free: 10.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.4228, allocations: 108 kB / 0.6077 GB, free: 10.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.4228, allocations: 35.56 kB / 0.6078 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.4228, allocations: 0 / 0.6078 GB, free: 10.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4229, allocations: 330.8 kB / 0.6081 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.4231, allocations: 47.95 kB / 0.6081 GB, free: 9.996 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.4232, allocations: 86.39 kB / 0.6082 GB, free: 9.902 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.4234, allocations: 59.95 kB / 0.6083 GB, free: 9.844 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4234, allocations: 0 / 0.6083 GB, free: 9.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003595/0.4238, allocations: 181.3 kB / 0.6084 GB, free: 9.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4238, allocations: 13.67 kB / 0.6084 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4238, allocations: 480 / 0.6084 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.4238, allocations: 0 / 0.6084 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.4241, allocations: 43.97 kB / 0.6085 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008153/0.4249, allocations: 1.227 MB / 0.6097 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.425, allocations: 23.86 kB / 0.6097 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.4251, allocations: 7.938 kB / 0.6097 GB, free: 8.301 MB / 426.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.0001444/0.4252, allocations: 139.8 kB / 0.6099 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.4253, allocations: 11.91 kB / 0.6099 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.4257, allocations: 186.9 kB / 0.61 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4257, allocations: 7.938 kB / 0.61 GB, free: 7.949 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4257, allocations: 4 kB / 0.6101 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4257, allocations: 11.94 kB / 0.6101 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.426, allocations: 221.6 kB / 0.6103 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.426, allocations: 0 / 0.6103 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.4262, allocations: 47.95 kB / 0.6103 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.4263, allocations: 4 kB / 0.6103 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4263, allocations: 0 / 0.6103 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006546/0.4269, allocations: 1.223 MB / 0.6115 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4269, allocations: 0 / 0.6115 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.4273, allocations: 259.5 kB / 0.6118 GB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.4274, allocations: 92.86 kB / 0.6119 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.4274, allocations: 7.984 kB / 0.6119 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.4276, allocations: 8 kB / 0.6119 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.4276, allocations: 7.984 kB / 0.6119 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.4276, allocations: 4 kB / 0.6119 GB, free: 5.941 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.4277, allocations: 153.2 kB / 0.612 GB, free: 5.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4278, allocations: 0 / 0.612 GB, free: 5.793 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.4281, allocations: 40 kB / 0.6121 GB, free: 5.754 MB / 426.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.000857/0.4289, allocations: 0.845 MB / 0.6129 GB, free: 4.879 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.4294, allocations: 143.9 kB / 0.613 GB, free: 4.738 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4294, allocations: 4 kB / 0.613 GB, free: 4.734 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.4297, allocations: 87.86 kB / 0.6131 GB, free: 4.648 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.4299, allocations: 24.17 kB / 0.6131 GB, free: 4.621 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.4316, allocations: 1.392 MB / 0.6145 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.432, allocations: 0.7318 MB / 0.6152 GB, free: 2.422 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.344e-05/0.4321, allocations: 37.03 kB / 0.6152 GB, free: 2.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.4321, allocations: 43.36 kB / 0.6153 GB, free: 2.344 MB / 426.7 MB Notification: Performance of SimCode: time 3.005e-06/0.4322, allocations: 0 / 0.6153 GB, free: 2.344 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.4478, allocations: 4.232 MB / 0.6194 GB, free: 14.39 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.448, allocations: 256.6 kB / 0.6197 GB, free: 14.05 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.182, allocations: 2.234 kB / 0.6197 GB, free: 14.05 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat