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_KC.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.00126/0.00126, allocations: 119.7 kB / 18.5 MB, free: 4.535 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.00137/0.00137, allocations: 213.6 kB / 21.46 MB, free: 1.582 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.437/1.437, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2258/0.2258, allocations: 46.89 MB / 357.4 MB, free: 10.48 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_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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.002307/0.002307, allocations: 79.86 kB / 0.4913 GB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1391, allocations: 65.97 MB / 0.5557 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003551/0.1427, allocations: 2.21 MB / 0.5579 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1445, allocations: 1.098 MB / 0.5589 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.1446, allocations: 4 kB / 0.5589 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.145, allocations: 83.44 kB / 0.559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.1454, allocations: 95.27 kB / 0.5591 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.1457, allocations: 119.5 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1459, allocations: 178.9 kB / 0.5594 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.146, allocations: 12.41 kB / 0.5594 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.1462, allocations: 75.53 kB / 0.5595 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.1463, allocations: 87.48 kB / 0.5595 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.1464, allocations: 8 kB / 0.5596 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.1468, allocations: 263.6 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.1469, allocations: 35.77 kB / 0.5598 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.147, allocations: 79.36 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.1475, allocations: 330.5 kB / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.1475, allocations: 3.984 kB / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1475, allocations: 0 / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1475, allocations: 0 / 0.5602 GB, free: 1.52 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007611/0.1483, allocations: 0.4986 MB / 0.5607 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.1483, allocations: 12.03 kB / 0.5607 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.272e-05/0.1484, allocations: 54.73 kB / 0.5608 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.1485, allocations: 24.8 kB / 0.5608 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.1488, allocations: 216 kB / 0.561 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.1488, allocations: 20.75 kB / 0.561 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.1489, allocations: 27.94 kB / 0.5611 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.1493, allocations: 227.2 kB / 0.5613 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1493, allocations: 0 / 0.5613 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.1493, allocations: 7.938 kB / 0.5613 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1493, allocations: 4 kB / 0.5613 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.1498, allocations: 253.6 kB / 0.5615 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.1508, allocations: 0.6275 MB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.1511, allocations: 90.59 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1512, allocations: 48.83 kB / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1512, allocations: 0 / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.1513, allocations: 34.56 kB / 0.5623 GB, free: 15.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 8.91e-07/0.1513, allocations: 0 / 0.5623 GB, free: 15.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005271/0.1518, allocations: 165.4 kB / 0.5625 GB, free: 15.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.1518, allocations: 51.41 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.1521, allocations: 267 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1522, allocations: 29.7 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1523, allocations: 183.3 kB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.1523, allocations: 35.73 kB / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.1524, allocations: 49.66 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1526, allocations: 338.8 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.1527, allocations: 47.95 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.153, allocations: 144.8 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.1534, allocations: 212.6 kB / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1534, allocations: 0 / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005064/0.1539, allocations: 245.1 kB / 0.564 GB, free: 13.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1539, allocations: 8 kB / 0.564 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1539, allocations: 7.984 kB / 0.564 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1539, allocations: 4 kB / 0.564 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.1543, allocations: 80.34 kB / 0.5641 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009876/0.1553, allocations: 1.23 MB / 0.5653 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.1555, allocations: 31.78 kB / 0.5653 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.1555, allocations: 12 kB / 0.5653 GB, free: 11.91 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.1557, allocations: 141.8 kB / 0.5655 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.1557, allocations: 23.81 kB / 0.5655 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.1562, allocations: 167.7 kB / 0.5657 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1562, allocations: 0 / 0.5657 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1562, allocations: 7.938 kB / 0.5657 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1562, allocations: 0 / 0.5657 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007172/0.1569, allocations: 444.1 kB / 0.5661 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1569, allocations: 4 kB / 0.5661 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.1572, allocations: 60.12 kB / 0.5661 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1572, allocations: 3.938 kB / 0.5662 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1572, allocations: 4 kB / 0.5662 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008561/0.158, allocations: 1.215 MB / 0.5673 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.158, allocations: 4.188 kB / 0.5673 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.1584, allocations: 249 kB / 0.5676 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.1585, allocations: 100.9 kB / 0.5677 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.1585, allocations: 3.938 kB / 0.5677 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1587, allocations: 11.98 kB / 0.5677 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.1588, allocations: 11.98 kB / 0.5677 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1588, allocations: 4 kB / 0.5677 GB, free: 9.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.159, allocations: 186 kB / 0.5679 GB, free: 9.137 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.159, allocations: 4 kB / 0.5679 GB, free: 9.133 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000383/0.1593, allocations: 59.94 kB / 0.568 GB, free: 9.074 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008439/0.1602, allocations: 0.8387 MB / 0.5688 GB, free: 8.203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.1607, allocations: 160.4 kB / 0.5689 GB, free: 8.047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1607, allocations: 192 / 0.5689 GB, free: 8.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.161, allocations: 79.95 kB / 0.569 GB, free: 7.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1613, allocations: 33.06 kB / 0.569 GB, free: 7.934 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.1647, allocations: 2.569 MB / 0.5715 GB, free: 5.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1651, allocations: 0.7323 MB / 0.5723 GB, free: 4.422 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.911e-05/0.1652, allocations: 21.94 kB / 0.5723 GB, free: 4.398 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-05/0.1653, allocations: 63.42 kB / 0.5723 GB, free: 4.336 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1653, allocations: 0 / 0.5723 GB, free: 4.336 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.1965, allocations: 6.221 MB / 0.5784 GB, free: 14.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.08, allocations: 16.81 kB / 0.5784 GB, free: 14.32 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.961671106051654] Failed to read output from testmodel.py, exit status != 0: ['time', 'h_2', 'l_2', 's_2', 't_2', 'Nu', 'm_flow[1]', 'm_flow[2]', 'kc_1', 'kc_2', 'Re_1', 'Re_2', 'input_Nu.y'] 12.17293064109981 12.187808144 12.037399743 Calling exit ...