Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_4_1_0-beta_om_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/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2367/0.2367, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 87.36 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1151, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003607/0.1187, allocations: 1.922 MB / 482.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1209, allocations: 1.156 MB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1211, allocations: 7.938 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.1214, allocations: 47.73 kB / 483.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1216, allocations: 59.61 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006314/0.1222, allocations: 187.3 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.1226, allocations: 219.1 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.221e-05/0.1226, allocations: 21.67 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.1229, allocations: 99.48 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1231, allocations: 107.5 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.1231, allocations: 8 kB / 484.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.1235, allocations: 255.6 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.1236, allocations: 55.73 kB / 484.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1238, allocations: 95.36 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.1242, allocations: 327.2 kB / 484.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1243, allocations: 0 / 484.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1243, allocations: 0 / 484.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1243, allocations: 0 / 484.8 MB, free: 0.5781 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001102/0.1254, allocations: 0.5516 MB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.1254, allocations: 12.03 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.463e-05/0.1255, allocations: 58.67 kB / 485.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003943/0.1259, allocations: 56.61 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.1262, allocations: 240.5 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.1262, allocations: 16.31 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.1263, allocations: 23.94 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.1269, allocations: 273.6 kB / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1269, allocations: 7.984 kB / 486 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.1269, allocations: 4 kB / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.127, allocations: 11.98 kB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.1276, allocations: 227.5 kB / 486.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.1287, allocations: 0.7695 MB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005926/0.1293, allocations: 227.7 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.1297, allocations: 110.5 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.1297, allocations: 0 / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1297, allocations: 38.5 kB / 487.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.1297, allocations: 0 / 487.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009987/0.1307, allocations: 309.3 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.1308, allocations: 110.8 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.1312, allocations: 286.4 kB / 488.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1312, allocations: 25.86 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1313, allocations: 140 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.1314, allocations: 47.27 kB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.1315, allocations: 37.7 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1316, allocations: 334.8 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.1319, allocations: 83.91 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.1322, allocations: 125.1 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005748/0.1328, allocations: 229.1 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1328, allocations: 0 / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006762/0.1335, allocations: 261.1 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1335, allocations: 7.938 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/0.1336, allocations: 12 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1336, allocations: 4 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.1338, allocations: 35.89 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1338, allocations: 4 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.134, allocations: 39.92 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1341, allocations: 11.92 kB / 489.4 MB, free: 11.59 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.1342, allocations: 141.8 kB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.654e-05/0.1343, allocations: 27.66 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.1348, allocations: 223.2 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1349, allocations: 4 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1349, allocations: 4 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1349, allocations: 0 / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.1353, allocations: 273.4 kB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/0.1354, allocations: 12 kB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.1355, allocations: 27.97 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1356, allocations: 7.938 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1356, allocations: 7.984 kB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1356, allocations: 0 / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1356, allocations: 3.938 kB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/0.1363, allocations: 477.6 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.473e-05/0.1364, allocations: 108.8 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.1365, allocations: 8 kB / 490.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.1367, allocations: 15.97 kB / 490.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.1368, allocations: 15.98 kB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1368, allocations: 4 kB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000213/0.137, allocations: 205.9 kB / 491 MB, free: 9.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.137, allocations: 0 / 491 MB, free: 9.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004576/0.1375, allocations: 79.92 kB / 491 MB, free: 9.879 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001202/0.1387, allocations: 1.07 MB / 492.1 MB, free: 8.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007309/0.1395, allocations: 288.8 kB / 492.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1395, allocations: 0 / 492.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.1399, allocations: 181 kB / 492.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.1404, allocations: 55.7 kB / 492.6 MB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.1448, allocations: 2.973 MB / 495.6 MB, free: 5.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.1453, allocations: 0.7593 MB / 496.4 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.1454, allocations: 41.52 kB / 496.4 MB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.1456, allocations: 63.41 kB / 496.5 MB, free: 4.25 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1456, allocations: 0 / 496.5 MB, free: 4.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.1758, allocations: 6.548 MB / 0.4912 GB, free: 13.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.274, allocations: 14.84 kB / 0.4912 GB, free: 13.88 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1)