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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 191.8 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 294.8 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9731/0.9731, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 96.41 kB / 0.5947 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1496, allocations: 86.99 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005761/0.1554, allocations: 4.559 MB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1564, allocations: 0.8187 MB / 0.6849 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.1565, allocations: 0 / 0.6849 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.1567, allocations: 27.83 kB / 0.6849 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-05/0.1568, allocations: 27.77 kB / 0.6849 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.1572, allocations: 151.6 kB / 0.6851 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1574, allocations: 175.4 kB / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1575, allocations: 17.11 kB / 0.6853 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.1577, allocations: 79.75 kB / 0.6853 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1578, allocations: 87.66 kB / 0.6854 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1579, allocations: 12 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.1582, allocations: 151.8 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.1583, allocations: 31.89 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.986e-05/0.1584, allocations: 71.66 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.1587, allocations: 239.6 kB / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1588, allocations: 0 / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1588, allocations: 0 / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1588, allocations: 3.938 kB / 0.6859 GB, free: 10.61 MB / 494.1 MB 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.0009424/0.1597, allocations: 482.8 kB / 0.6864 GB, free: 10.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1598, allocations: 12.02 kB / 0.6864 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.1598, allocations: 12.84 kB / 0.6864 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.16, allocations: 180.2 kB / 0.6866 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.16, allocations: 8.375 kB / 0.6866 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.1601, allocations: 12.38 kB / 0.6866 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.1604, allocations: 129.6 kB / 0.6867 GB, free: 9.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1604, allocations: 4 kB / 0.6867 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1604, allocations: 0 / 0.6867 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.1604, allocations: 0 / 0.6867 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.1608, allocations: 135.9 kB / 0.6868 GB, free: 9.559 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009033/0.1617, allocations: 468.5 kB / 0.6873 GB, free: 9.051 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.162, allocations: 138.4 kB / 0.6874 GB, free: 8.906 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.1622, allocations: 67.44 kB / 0.6875 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.1636, allocations: 0.9609 MB / 0.6884 GB, free: 7.742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1636, allocations: 38.56 kB / 0.6885 GB, free: 7.695 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1636, allocations: 4 kB / 0.6885 GB, free: 7.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006324/0.1643, allocations: 217.2 kB / 0.6887 GB, free: 7.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1643, allocations: 55.41 kB / 0.6887 GB, free: 7.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1645, allocations: 168.8 kB / 0.6889 GB, free: 7.234 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1645, allocations: 25.7 kB / 0.6889 GB, free: 7.203 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.1646, allocations: 108.4 kB / 0.689 GB, free: 7.094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1646, allocations: 43.39 kB / 0.6891 GB, free: 7.051 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-05/0.1647, allocations: 49.7 kB / 0.6891 GB, free: 6.996 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1648, allocations: 322.8 kB / 0.6894 GB, free: 6.672 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.165, allocations: 83.88 kB / 0.6895 GB, free: 6.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.1653, allocations: 105.3 kB / 0.6896 GB, free: 6.477 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.1657, allocations: 176.8 kB / 0.6898 GB, free: 6.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1657, allocations: 0 / 0.6898 GB, free: 6.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005424/0.1662, allocations: 243.2 kB / 0.69 GB, free: 6.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1663, allocations: 12.08 kB / 0.69 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1663, allocations: 4 kB / 0.69 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1663, allocations: 3.938 kB / 0.69 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.1666, allocations: 51.91 kB / 0.6901 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.1666, allocations: 4 kB / 0.6901 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.1668, allocations: 27.83 kB / 0.6901 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.1668, allocations: 7.984 kB / 0.6901 GB, free: 5.941 MB / 494.1 MB 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.0001186/0.1669, allocations: 134.4 kB / 0.6902 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.167, allocations: 11.81 kB / 0.6902 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.1674, allocations: 178.8 kB / 0.6904 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1675, allocations: 8 kB / 0.6904 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1675, allocations: 0 / 0.6904 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1675, allocations: 3.984 kB / 0.6904 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.1677, allocations: 221.5 kB / 0.6906 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1677, allocations: 0 / 0.6906 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.1679, allocations: 31.97 kB / 0.6907 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1679, allocations: 0 / 0.6907 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1679, allocations: 7.938 kB / 0.6907 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1679, allocations: 0 / 0.6907 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1679, allocations: 0 / 0.6907 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.1684, allocations: 263.2 kB / 0.6909 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.1685, allocations: 93 kB / 0.691 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1685, allocations: 7.938 kB / 0.691 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1687, allocations: 11.98 kB / 0.691 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.1687, allocations: 7.984 kB / 0.691 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1687, allocations: 8 kB / 0.691 GB, free: 4.879 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.632e-05/0.1688, allocations: 119.2 kB / 0.6912 GB, free: 4.766 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1688, allocations: 0 / 0.6912 GB, free: 4.766 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.1692, allocations: 63.97 kB / 0.6912 GB, free: 4.703 MB / 494.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 (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.0002913/0.1695, allocations: 163.1 kB / 0.6914 GB, free: 4.531 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004941/0.17, allocations: 176.3 kB / 0.6915 GB, free: 4.359 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.17, allocations: 0 / 0.6915 GB, free: 4.359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.1702, allocations: 64.14 kB / 0.6916 GB, free: 4.297 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1706, allocations: 28.12 kB / 0.6916 GB, free: 4.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.171, allocations: 291.2 kB / 0.6919 GB, free: 3.961 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1713, allocations: 0.7045 MB / 0.6926 GB, free: 3.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1715, allocations: 21.02 kB / 0.6926 GB, free: 3.211 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.1715, allocations: 15.44 kB / 0.6926 GB, free: 3.195 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1715, allocations: 0 / 0.6926 GB, free: 3.195 MB / 494.1 MB Notification: Performance of Templates: time 0.005658/0.1772, allocations: 2.627 MB / 0.6952 GB, free: 0.6055 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)