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.001143/0.001143, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001143/0.001143, allocations: 194.8 kB / 16.14 MB, free: 6.711 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.28/1.28, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 275.2 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9491/0.9491, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 93.84 kB / 0.5945 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1444, allocations: 86.99 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005808/0.1502, allocations: 4.561 MB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009506/0.1512, allocations: 0.8265 MB / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.1512, allocations: 0 / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1514, allocations: 31.83 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.1515, allocations: 27.77 kB / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.1519, allocations: 151.5 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.152, allocations: 163.4 kB / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.1521, allocations: 17.11 kB / 0.6851 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1523, allocations: 71.75 kB / 0.6852 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.1524, allocations: 75.67 kB / 0.6852 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.1524, allocations: 12 kB / 0.6852 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.1527, allocations: 143.8 kB / 0.6854 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.1528, allocations: 27.84 kB / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.168e-05/0.1528, allocations: 59.66 kB / 0.6855 GB, free: 10.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.1532, allocations: 231.6 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1532, allocations: 0 / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1532, allocations: 0 / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1532, allocations: 0 / 0.6857 GB, free: 10.77 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.000832/0.154, allocations: 494.8 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1541, allocations: 8.031 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.1541, allocations: 12.84 kB / 0.6862 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1543, allocations: 180.2 kB / 0.6863 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1543, allocations: 8.375 kB / 0.6863 GB, free: 9.992 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.1543, allocations: 12.31 kB / 0.6864 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.1546, allocations: 125.7 kB / 0.6865 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1547, allocations: 0 / 0.6865 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1547, allocations: 4 kB / 0.6865 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1547, allocations: 4 kB / 0.6865 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.1551, allocations: 141.8 kB / 0.6866 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.156, allocations: 464.5 kB / 0.6871 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1563, allocations: 126.5 kB / 0.6872 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.1565, allocations: 72.81 kB / 0.6873 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.1577, allocations: 0.9645 MB / 0.6882 GB, free: 7.895 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.1578, allocations: 42.5 kB / 0.6882 GB, free: 7.844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.1578, allocations: 0 / 0.6882 GB, free: 7.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006533/0.1584, allocations: 217.5 kB / 0.6884 GB, free: 7.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.1585, allocations: 51.41 kB / 0.6885 GB, free: 7.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1586, allocations: 168.8 kB / 0.6887 GB, free: 7.391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1586, allocations: 29.7 kB / 0.6887 GB, free: 7.355 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.1587, allocations: 104.4 kB / 0.6888 GB, free: 7.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.1587, allocations: 47.39 kB / 0.6888 GB, free: 7.203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.1588, allocations: 45.7 kB / 0.6889 GB, free: 7.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.1589, allocations: 322.8 kB / 0.6892 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.1592, allocations: 83.88 kB / 0.6893 GB, free: 6.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.1594, allocations: 105.3 kB / 0.6894 GB, free: 6.633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.1598, allocations: 181 kB / 0.6895 GB, free: 6.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1598, allocations: 0 / 0.6895 GB, free: 6.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005334/0.1603, allocations: 239 kB / 0.6898 GB, free: 6.207 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1604, allocations: 12.09 kB / 0.6898 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1604, allocations: 0 / 0.6898 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1604, allocations: 3.938 kB / 0.6898 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.1607, allocations: 63.89 kB / 0.6898 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1607, allocations: 0 / 0.6898 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1608, allocations: 27.83 kB / 0.6899 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.1609, allocations: 8 kB / 0.6899 GB, free: 6.094 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 9.075e-05/0.161, allocations: 126.4 kB / 0.69 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.161, allocations: 15.81 kB / 0.69 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/0.1615, allocations: 182.9 kB / 0.6902 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1615, allocations: 0 / 0.6902 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1615, allocations: 0 / 0.6902 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1615, allocations: 0 / 0.6902 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.1617, allocations: 221.5 kB / 0.6904 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1617, allocations: 4 kB / 0.6904 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.1619, allocations: 31.97 kB / 0.6904 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1619, allocations: 0 / 0.6904 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1619, allocations: 11.88 kB / 0.6904 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1619, allocations: 4 kB / 0.6904 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1619, allocations: 0 / 0.6904 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.1623, allocations: 255.2 kB / 0.6907 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.1624, allocations: 93 kB / 0.6908 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1624, allocations: 7.922 kB / 0.6908 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.1626, allocations: 15.98 kB / 0.6908 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1626, allocations: 7.984 kB / 0.6908 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1626, allocations: 4 kB / 0.6908 GB, free: 5.039 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.154e-05/0.1627, allocations: 119.2 kB / 0.6909 GB, free: 4.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1627, allocations: 4 kB / 0.6909 GB, free: 4.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.1631, allocations: 68.22 kB / 0.691 GB, free: 4.855 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.0002466/0.1633, allocations: 155.1 kB / 0.6911 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004726/0.1638, allocations: 171.7 kB / 0.6913 GB, free: 4.523 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1638, allocations: 0 / 0.6913 GB, free: 4.523 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.164, allocations: 67.89 kB / 0.6914 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1643, allocations: 25.11 kB / 0.6914 GB, free: 4.434 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.1648, allocations: 286.9 kB / 0.6917 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.165, allocations: 0.7009 MB / 0.6923 GB, free: 3.402 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.1651, allocations: 32 kB / 0.6924 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.1652, allocations: 15.44 kB / 0.6924 GB, free: 3.359 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1652, allocations: 0 / 0.6924 GB, free: 3.359 MB / 494.1 MB Notification: Performance of Templates: time 0.005086/0.1703, allocations: 2.555 MB / 0.6949 GB, free: 0.8398 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)