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.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 121.4 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 213.6 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2316/0.2316, allocations: 46.93 MB / 357.7 MB, free: 10.27 MB / 286.1 MB " [Timeout remaining time 180] 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.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002244/0.002244, allocations: 83.86 kB / 0.4917 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1347, allocations: 66.04 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003527/0.1382, allocations: 2.043 MB / 0.5582 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1402, allocations: 1.161 MB / 0.5593 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.411e-05/0.1402, allocations: 3.938 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.1406, allocations: 51.67 kB / 0.5594 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1408, allocations: 83.5 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.1413, allocations: 182.5 kB / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.1417, allocations: 334.4 kB / 0.5599 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.192e-05/0.1418, allocations: 24.75 kB / 0.56 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.1421, allocations: 127.4 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.1422, allocations: 135.3 kB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.1423, allocations: 12 kB / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.1427, allocations: 211.7 kB / 0.5604 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.913e-05/0.1428, allocations: 71.67 kB / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.1429, allocations: 123.2 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.1434, allocations: 410.3 kB / 0.561 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1434, allocations: 0 / 0.561 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1434, allocations: 0 / 0.561 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1435, allocations: 0 / 0.561 GB, free: 0.6133 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001261/0.1447, allocations: 0.6411 MB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1448, allocations: 8.031 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.639e-05/0.1448, allocations: 66.73 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.1452, allocations: 72.66 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.1456, allocations: 268.9 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.1456, allocations: 20.56 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.1456, allocations: 24 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/0.1463, allocations: 429.8 kB / 0.5625 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1464, allocations: 0 / 0.5625 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.1464, allocations: 12 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.1464, allocations: 20.55 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/0.1471, allocations: 325.9 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.1488, allocations: 1.104 MB / 0.5639 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.1493, allocations: 231.7 kB / 0.5641 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.1496, allocations: 102.5 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.87e-05/0.1496, allocations: 19.92 kB / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1497, allocations: 38.48 kB / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.1497, allocations: 0 / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.00117/0.1509, allocations: 361.2 kB / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.1509, allocations: 102.8 kB / 0.5647 GB, free: 12.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.1514, allocations: 405.6 kB / 0.5651 GB, free: 12.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.1514, allocations: 29.64 kB / 0.5651 GB, free: 12.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.1516, allocations: 196.1 kB / 0.5653 GB, free: 11.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.1517, allocations: 51.53 kB / 0.5654 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1518, allocations: 65.98 kB / 0.5654 GB, free: 11.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1519, allocations: 346.8 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.1523, allocations: 120.1 kB / 0.5659 GB, free: 11.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.1527, allocations: 231.8 kB / 0.5661 GB, free: 11.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/0.1534, allocations: 371.3 kB / 0.5664 GB, free: 10.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1534, allocations: 0 / 0.5664 GB, free: 10.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000881/0.1543, allocations: 408.8 kB / 0.5668 GB, free: 10.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1543, allocations: 8 kB / 0.5668 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.636e-05/0.1544, allocations: 23.98 kB / 0.5669 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1544, allocations: 4 kB / 0.5669 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.1547, allocations: 48.41 kB / 0.5669 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.1547, allocations: 15.92 kB / 0.5669 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.155, allocations: 51.66 kB / 0.567 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.155, allocations: 24 kB / 0.567 GB, free: 10.05 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002093/0.1552, allocations: 177.6 kB / 0.5672 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1553, allocations: 35.77 kB / 0.5672 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.156, allocations: 284.2 kB / 0.5675 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.156, allocations: 4 kB / 0.5675 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.156, allocations: 0 / 0.5675 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.156, allocations: 3.984 kB / 0.5675 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.1566, allocations: 309.4 kB / 0.5678 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.598e-05/0.1566, allocations: 20.08 kB / 0.5678 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1567, allocations: 27.91 kB / 0.5678 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.1568, allocations: 4 kB / 0.5678 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.1568, allocations: 12 kB / 0.5678 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1568, allocations: 0 / 0.5678 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1568, allocations: 0 / 0.5678 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.1577, allocations: 0.5054 MB / 0.5683 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1578, allocations: 112.8 kB / 0.5684 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.1578, allocations: 8 kB / 0.5685 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.1581, allocations: 15.97 kB / 0.5685 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.1582, allocations: 15.98 kB / 0.5685 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.1582, allocations: 8 kB / 0.5685 GB, free: 8.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000322/0.1585, allocations: 291.1 kB / 0.5688 GB, free: 8.145 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1585, allocations: 4 kB / 0.5688 GB, free: 8.141 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005395/0.1591, allocations: 99.81 kB / 0.5689 GB, free: 8.043 MB / 430.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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0014/0.1605, allocations: 1.093 MB / 0.5699 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008799/0.1613, allocations: 426.8 kB / 0.5703 GB, free: 6.465 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1613, allocations: 0 / 0.5703 GB, free: 6.465 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.1617, allocations: 278.1 kB / 0.5706 GB, free: 6.156 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006139/0.1624, allocations: 73.62 kB / 0.5707 GB, free: 6.086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/0.1681, allocations: 3.839 MB / 0.5744 GB, free: 2.059 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.1685, allocations: 0.8025 MB / 0.5752 GB, free: 1.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.1687, allocations: 70.84 kB / 0.5753 GB, free: 1.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.1688, allocations: 83.41 kB / 0.5754 GB, free: 1.082 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1688, allocations: 0 / 0.5754 GB, free: 1.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.201, allocations: 9.172 MB / 0.5843 GB, free: 8.102 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.465, allocations: 8.016 kB / 0.5843 GB, free: 8.094 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000201839 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.812963523901999] Failed to read output from testmodel.py, exit status != 0: ['time', 'cp[1]', 'cp[2]', 'cp[3]', 'eta[1]', 'eta[2]', 'eta[3]', 'lambda[1]', 'lambda[2]', 'lambda[3]', 'rho[1]', 'rho[2]', 'rho[3]', 'm_flow[1]', 'm_flow[2]', 'm_flow[3]', 'Re_1[1]', 'Re_1[2]', 'Re_1[3]', 'Nu_1[1]', 'Nu_1[2]', 'Nu_1[3]', 'Nu_2[1]', 'Nu_2[2]', 'Nu_2[3]', 'Re', 'Pr[1]', 'Pr[2]', 'Pr[3]', 'input_mflow_0.y', 'input_mflow_1.y', 'input_mflow_2.y'] 8.558714612852782 8.784656672 8.638633303 Calling exit ...