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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008848/0.0008849, allocations: 93.27 kB / 17 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 180.2 kB / 17.89 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2066/0.2066, allocations: 44.21 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003024, allocations: 8 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 61.93 MB / 471.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002088/0.1198, allocations: 1.458 MB / 473.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1209, allocations: 0.7211 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.121, allocations: 0 / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1212, allocations: 35.81 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.1215, allocations: 67.66 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1217, allocations: 63.81 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.1219, allocations: 203.2 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.122, allocations: 9.109 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1221, allocations: 55.78 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1223, allocations: 87.66 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1223, allocations: 0 / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.1226, allocations: 147.8 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.1226, allocations: 43.81 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.1227, allocations: 41.64 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1229, allocations: 119.9 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1229, allocations: 0 / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.1229, allocations: 0 / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1229, allocations: 3.938 kB / 474.7 MB, free: 10.54 MB / 350.1 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.000654/0.1236, allocations: 434.8 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1236, allocations: 11.97 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.1237, allocations: 42.55 kB / 475.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.1237, allocations: 15.81 kB / 475.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.124, allocations: 198.8 kB / 475.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.124, allocations: 11.98 kB / 475.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.124, allocations: 7.953 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.1244, allocations: 177.6 kB / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1244, allocations: 0 / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.1244, allocations: 7.984 kB / 475.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.1244, allocations: 11.98 kB / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.1248, allocations: 175.9 kB / 475.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.1255, allocations: 492 kB / 476.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.126, allocations: 166.4 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1261, allocations: 60.81 kB / 476.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.1262, allocations: 0 / 476.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1262, allocations: 34.5 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.1262, allocations: 8 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005361/0.1267, allocations: 209.6 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.1268, allocations: 55.41 kB / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.127, allocations: 211.3 kB / 477 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.127, allocations: 25.7 kB / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.1271, allocations: 112 kB / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1272, allocations: 27.56 kB / 477.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.1272, allocations: 0 / 477.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1274, allocations: 330.8 kB / 477.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1275, allocations: 55.95 kB / 477.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1277, allocations: 74.52 kB / 477.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1278, allocations: 63.89 kB / 477.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1278, allocations: 4 kB / 477.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003933/0.1282, allocations: 177.3 kB / 477.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1283, allocations: 4 kB / 477.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.1283, allocations: 3.984 kB / 477.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1283, allocations: 8.062 kB / 477.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.1286, allocations: 47.92 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007768/0.1294, allocations: 1.219 MB / 479.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.1295, allocations: 23.86 kB / 479.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1295, allocations: 4 kB / 479.2 MB, free: 5.801 MB / 350.1 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.0001851/0.1297, allocations: 136.5 kB / 479.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.1298, allocations: 15.8 kB / 479.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.1302, allocations: 199.1 kB / 479.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.1302, allocations: 4 kB / 479.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1303, allocations: 3.953 kB / 479.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1303, allocations: 0 / 479.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.1306, allocations: 221.7 kB / 479.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1306, allocations: 4 kB / 479.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.1308, allocations: 43.98 kB / 479.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1308, allocations: 7.984 kB / 479.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1308, allocations: 3.984 kB / 479.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007002/0.1315, allocations: 1.219 MB / 481 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1316, allocations: 4.172 kB / 481 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.1319, allocations: 275.2 kB / 481.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.132, allocations: 96.84 kB / 481.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.1321, allocations: 0 / 481.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.1322, allocations: 19.98 kB / 481.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1322, allocations: 4 kB / 481.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.1322, allocations: 0 / 481.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1324, allocations: 153.2 kB / 481.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1324, allocations: 0 / 481.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.1327, allocations: 40 kB / 481.6 MB, free: 3.238 MB / 350.1 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.0008267/0.1335, allocations: 0.8179 MB / 482.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.134, allocations: 159.9 kB / 482.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.134, allocations: 7.938 kB / 482.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.1343, allocations: 91.92 kB / 482.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1346, allocations: 24.67 kB / 482.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.1363, allocations: 1.12 MB / 483.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1366, allocations: 0.7318 MB / 484.5 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.974e-05/0.1368, allocations: 29.06 kB / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.1368, allocations: 39.42 kB / 484.6 MB, free: 120 kB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1368, allocations: 0 / 484.6 MB, free: 120 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.1524, allocations: 4.139 MB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/0.1527, allocations: 267.7 kB / 489 MB, free: 11.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/1.958, allocations: 4 kB / 489 MB, free: 11.89 MB / 366.1 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