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.HeatExchanger.kc_flatTube.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.001427/0.001427, allocations: 122.5 kB / 18.51 MB, free: 4.52 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: 215.2 kB / 21.46 MB, free: 1.566 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.497/1.497, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2573/0.2573, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.002279/0.002279, allocations: 87.84 kB / 0.4917 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.132, allocations: 66.03 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00383/0.1358, allocations: 2.137 MB / 0.5583 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.1381, allocations: 1.425 MB / 0.5597 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1382, allocations: 0 / 0.5597 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.1386, allocations: 87.38 kB / 0.5598 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1387, allocations: 59.44 kB / 0.5598 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.1394, allocations: 222.6 kB / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1396, allocations: 147 kB / 0.5602 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.592e-05/0.1397, allocations: 12.31 kB / 0.5602 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.1399, allocations: 71.52 kB / 0.5602 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.14, allocations: 59.61 kB / 0.5603 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.14, allocations: 4 kB / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006746/0.1407, allocations: 439.3 kB / 0.5607 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.1407, allocations: 23.86 kB / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.077e-05/0.1408, allocations: 71.42 kB / 0.5608 GB, free: 0.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000619/0.1415, allocations: 446.3 kB / 0.5612 GB, free: 320 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1415, allocations: 0 / 0.5612 GB, free: 320 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1415, allocations: 3.938 kB / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1415, allocations: 0 / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007739/0.1422, allocations: 0.4904 MB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.1423, allocations: 16.03 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.957e-05/0.1424, allocations: 50.73 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.1424, allocations: 28.78 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1427, allocations: 208 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.1428, allocations: 12.38 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.1428, allocations: 23.94 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.1433, allocations: 195.5 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1433, allocations: 4 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.1433, allocations: 8 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.1433, allocations: 7.984 kB / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.1437, allocations: 152.2 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.1449, allocations: 0.5754 MB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.1451, allocations: 62.53 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.1452, allocations: 32.95 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.1453, allocations: 3.984 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1453, allocations: 30.56 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.1453, allocations: 3.938 kB / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005263/0.1458, allocations: 137.6 kB / 0.5632 GB, free: 14.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.1459, allocations: 51.41 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.1462, allocations: 266.6 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.1462, allocations: 25.7 kB / 0.5635 GB, free: 13.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1463, allocations: 167.9 kB / 0.5637 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.1464, allocations: 15.91 kB / 0.5637 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.1464, allocations: 45.59 kB / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1466, allocations: 338.8 kB / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1468, allocations: 35.97 kB / 0.5641 GB, free: 13.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.147, allocations: 134.5 kB / 0.5642 GB, free: 12.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.1474, allocations: 184.6 kB / 0.5644 GB, free: 12.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.1474, allocations: 4 kB / 0.5644 GB, free: 12.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004323/0.1478, allocations: 201.2 kB / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1478, allocations: 8 kB / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/0.1478, allocations: 16.42 kB / 0.5646 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.1479, allocations: 8 kB / 0.5646 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.148, allocations: 31.92 kB / 0.5647 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.148, allocations: 4 kB / 0.5647 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.1482, allocations: 35.77 kB / 0.5647 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.1482, allocations: 8 kB / 0.5647 GB, free: 12.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000165/0.1483, allocations: 133.7 kB / 0.5649 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.1484, allocations: 19.86 kB / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.1488, allocations: 138.9 kB / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1488, allocations: 0 / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1488, allocations: 0 / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1488, allocations: 3.984 kB / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.1491, allocations: 221.5 kB / 0.5652 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/0.1491, allocations: 12 kB / 0.5652 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.1492, allocations: 11.92 kB / 0.5652 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1492, allocations: 0 / 0.5652 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1492, allocations: 4 kB / 0.5652 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1492, allocations: 0 / 0.5652 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1492, allocations: 4 kB / 0.5652 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1496, allocations: 211.3 kB / 0.5655 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.1496, allocations: 92.97 kB / 0.5655 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1497, allocations: 4 kB / 0.5655 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1498, allocations: 7.984 kB / 0.5656 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1498, allocations: 0 / 0.5656 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1498, allocations: 8 kB / 0.5656 GB, free: 11.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.15, allocations: 178 kB / 0.5657 GB, free: 11.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.15, allocations: 4 kB / 0.5657 GB, free: 11.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.1504, allocations: 75.75 kB / 0.5658 GB, free: 11.21 MB / 430.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009564/0.1513, allocations: 0.8174 MB / 0.5666 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000487/0.1518, allocations: 172.1 kB / 0.5668 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1518, allocations: 0 / 0.5668 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.152, allocations: 95.31 kB / 0.5669 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1524, allocations: 29.3 kB / 0.5669 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.1556, allocations: 2.377 MB / 0.5692 GB, free: 7.504 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.156, allocations: 0.7281 MB / 0.5699 GB, free: 6.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.92e-05/0.1561, allocations: 21.47 kB / 0.5699 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.1561, allocations: 55.42 kB / 0.57 GB, free: 6.676 MB / 430.1 MB Notification: Performance of SimCode: time 9.91e-07/0.1561, allocations: 0 / 0.57 GB, free: 6.676 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.1879, allocations: 6.859 MB / 0.5767 GB, free: 32 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.16, allocations: 0.7188 kB / 0.5767 GB, free: 32 kB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.26876790029928] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[2]', 'Nu[1]', 'Nu[2]', 'input_Re.y'] 12.257908442988992 12.27340027 12.128930575 Calling exit ...