Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 110.2 kB / 19.58 MB, free: 2.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 220 kB / 22.87 MB, free: 5.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.5 MB / 256.5 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002454/0.002454, allocations: 281.2 kB / 313.2 MB, free: 2.844 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.195/1.195, allocations: 180.8 MB / 0.5376 GB, free: 12.93 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002913/0.002913, allocations: 93.81 kB / 0.7406 GB, free: 27.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1562, allocations: 95.39 MB / 0.8337 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007243/0.1634, allocations: 4.639 MB / 0.8382 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1647, allocations: 0.8264 MB / 0.8391 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.509e-05/0.1648, allocations: 0 / 0.8391 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.1649, allocations: 35.77 kB / 0.8391 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.165, allocations: 31.7 kB / 0.8391 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.1656, allocations: 175.4 kB / 0.8393 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.1659, allocations: 179.4 kB / 0.8395 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.166, allocations: 21.08 kB / 0.8395 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.1662, allocations: 75.75 kB / 0.8396 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1663, allocations: 87.59 kB / 0.8396 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.1664, allocations: 16 kB / 0.8396 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.1668, allocations: 139.8 kB / 0.8398 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.1668, allocations: 27.91 kB / 0.8398 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.806e-05/0.1669, allocations: 67.7 kB / 0.8399 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.1673, allocations: 243.1 kB / 0.8401 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1673, allocations: 0 / 0.8401 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1673, allocations: 0 / 0.8401 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.1673, allocations: 0 / 0.8401 GB, free: 1.414 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009/0.1682, allocations: 409.4 kB / 0.8405 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1682, allocations: 12.75 kB / 0.8405 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.1683, allocations: 16.84 kB / 0.8405 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1684, allocations: 122.4 kB / 0.8406 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1684, allocations: 12.38 kB / 0.8407 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1685, allocations: 8.375 kB / 0.8407 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.1688, allocations: 125.7 kB / 0.8408 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1688, allocations: 0 / 0.8408 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1688, allocations: 4 kB / 0.8408 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1688, allocations: 4 kB / 0.8408 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.1693, allocations: 139.9 kB / 0.8409 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.1704, allocations: 439.6 kB / 0.8413 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.1707, allocations: 118.5 kB / 0.8415 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.1709, allocations: 60.81 kB / 0.8415 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.1722, allocations: 0.492 MB / 0.842 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1722, allocations: 30.56 kB / 0.842 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.1722, allocations: 7.938 kB / 0.842 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0007302/0.1729, allocations: 205.5 kB / 0.8422 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.173, allocations: 59.34 kB / 0.8423 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1731, allocations: 161.8 kB / 0.8424 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.1732, allocations: 29.7 kB / 0.8425 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.1732, allocations: 116.4 kB / 0.8426 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.1733, allocations: 43.62 kB / 0.8426 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.1734, allocations: 49.7 kB / 0.8427 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1735, allocations: 322.8 kB / 0.843 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.1737, allocations: 71.94 kB / 0.843 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.174, allocations: 115.3 kB / 0.8432 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.1745, allocations: 183.3 kB / 0.8433 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1745, allocations: 0 / 0.8433 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006255/0.1752, allocations: 237.3 kB / 0.8436 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1752, allocations: 7.984 kB / 0.8436 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1752, allocations: 0 / 0.8436 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1752, allocations: 11.88 kB / 0.8436 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.1755, allocations: 60 kB / 0.8436 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1755, allocations: 0 / 0.8436 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.1757, allocations: 27.88 kB / 0.8437 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.1757, allocations: 15.97 kB / 0.8437 GB, free: 13.54 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001109/0.1758, allocations: 122.4 kB / 0.8438 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.1759, allocations: 11.91 kB / 0.8438 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.1764, allocations: 187.2 kB / 0.844 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1764, allocations: 0 / 0.844 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1764, allocations: 0 / 0.844 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1764, allocations: 7.938 kB / 0.844 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.1766, allocations: 188.6 kB / 0.8442 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1766, allocations: 0 / 0.8442 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1768, allocations: 27.97 kB / 0.8442 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1768, allocations: 8 kB / 0.8442 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1768, allocations: 3.938 kB / 0.8442 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1768, allocations: 0 / 0.8442 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1768, allocations: 0 / 0.8442 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.1773, allocations: 255.4 kB / 0.8444 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.1774, allocations: 35.84 kB / 0.8445 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.1774, allocations: 7.875 kB / 0.8445 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1776, allocations: 15.98 kB / 0.8445 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.1776, allocations: 7.984 kB / 0.8445 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1776, allocations: 0 / 0.8445 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.542e-05/0.1777, allocations: 119.5 kB / 0.8446 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1777, allocations: 3.938 kB / 0.8446 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003747/0.1781, allocations: 67.86 kB / 0.8447 GB, free: 12.42 MB / 0.5919 GB 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003013/0.1784, allocations: 151.1 kB / 0.8448 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005611/0.1789, allocations: 168.1 kB / 0.845 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1789, allocations: 0 / 0.845 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.1792, allocations: 63.89 kB / 0.8451 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1795, allocations: 19.92 kB / 0.8451 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.1801, allocations: 269.4 kB / 0.8453 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.151e-05/0.1802, allocations: 85.78 kB / 0.8454 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.505e-05/0.1803, allocations: 21.45 kB / 0.8454 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.1803, allocations: 23.42 kB / 0.8455 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of SimCode: time 4.5e-07/0.1803, allocations: 0 / 0.8455 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of Templates: time 0.006929/0.1873, allocations: 2.826 MB / 0.8482 GB, free: 8.793 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.875938403994951] Failed to read output from testmodel.py, exit status != 0: 0.1947413240050082 0.210011983 0.039644754000000004 Calling exit ...