Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001197/0.001197, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 289.7 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8812/0.8812, allocations: 169.2 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 94.44 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1612, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002635/0.1638, allocations: 1.493 MB / 0.683 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002819/0.1641, allocations: 131.6 kB / 0.6832 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.1642, allocations: 0 / 0.6832 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.1642, allocations: 3.938 kB / 0.6832 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.004e-05/0.1643, allocations: 3.938 kB / 0.6832 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1646, allocations: 78.83 kB / 0.6833 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.43e-05/0.1647, allocations: 59.84 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.1648, allocations: 19.98 kB / 0.6833 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.44e-05/0.1648, allocations: 31.91 kB / 0.6834 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.1649, allocations: 19.92 kB / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1649, allocations: 4 kB / 0.6834 GB, free: 5.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.1649, allocations: 8 kB / 0.6834 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.165, allocations: 11.92 kB / 0.6834 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.165, allocations: 23.92 kB / 0.6834 GB, free: 5.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.1651, allocations: 63.66 kB / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1651, allocations: 0 / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1651, allocations: 4 kB / 0.6835 GB, free: 5.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.1651, allocations: 0 / 0.6835 GB, free: 5.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004769/0.1656, allocations: 371.4 kB / 0.6838 GB, free: 5.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1657, allocations: 12.03 kB / 0.6839 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.1657, allocations: 4.844 kB / 0.6839 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/0.1658, allocations: 168.4 kB / 0.684 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/0.1659, allocations: 38.23 kB / 0.6841 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.1659, allocations: 8.375 kB / 0.6841 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1661, allocations: 70.22 kB / 0.6841 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1661, allocations: 3.938 kB / 0.6841 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1661, allocations: 11.94 kB / 0.6841 GB, free: 4.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1661, allocations: 0 / 0.6841 GB, free: 4.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.1663, allocations: 39.95 kB / 0.6842 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.1669, allocations: 328.6 kB / 0.6845 GB, free: 4.297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.167, allocations: 54.42 kB / 0.6846 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.1671, allocations: 28.94 kB / 0.6846 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.1671, allocations: 0 / 0.6846 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1672, allocations: 42.55 kB / 0.6846 GB, free: 4.152 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1672, allocations: 0 / 0.6846 GB, free: 4.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003218/0.1675, allocations: 93.64 kB / 0.6847 GB, free: 4.055 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.1675, allocations: 51.41 kB / 0.6848 GB, free: 3.992 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.748e-05/0.1676, allocations: 113.8 kB / 0.6849 GB, free: 3.871 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1676, allocations: 25.7 kB / 0.6849 GB, free: 3.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.1677, allocations: 92.14 kB / 0.685 GB, free: 3.746 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.1677, allocations: 15.73 kB / 0.685 GB, free: 3.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1677, allocations: 17.72 kB / 0.685 GB, free: 3.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1679, allocations: 318.8 kB / 0.6853 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.1679, allocations: 23.97 kB / 0.6853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.168, allocations: 33.7 kB / 0.6854 GB, free: 3.324 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.1682, allocations: 57.67 kB / 0.6854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1682, allocations: 3.938 kB / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002005/0.1684, allocations: 85.59 kB / 0.6855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1684, allocations: 10.19 kB / 0.6855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1684, allocations: 0 / 0.6855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1684, allocations: 0 / 0.6855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/0.1685, allocations: 16.02 kB / 0.6855 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1685, allocations: 4 kB / 0.6855 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.1686, allocations: 15.83 kB / 0.6856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1686, allocations: 0 / 0.6856 GB, free: 3.125 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 7.138e-05/0.1687, allocations: 121.7 kB / 0.6857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.1687, allocations: 0 / 0.6857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.1687, allocations: 11.91 kB / 0.6857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1687, allocations: 240 / 0.6857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1688, allocations: 4 kB / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1688, allocations: 3.984 kB / 0.6857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.1689, allocations: 181.6 kB / 0.6859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.169, allocations: 0 / 0.6859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.169, allocations: 11.98 kB / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.169, allocations: 0 / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.169, allocations: 0 / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.169, allocations: 3.938 kB / 0.6859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1691, allocations: 0 / 0.6859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1693, allocations: 183.4 kB / 0.6861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.1693, allocations: 81.09 kB / 0.6861 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1693, allocations: 0 / 0.6861 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1695, allocations: 12.11 kB / 0.6861 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1695, allocations: 11.94 kB / 0.6862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1695, allocations: 4 kB / 0.6862 GB, free: 2.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.171e-05/0.1696, allocations: 95.27 kB / 0.6862 GB, free: 2.316 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1696, allocations: 0 / 0.6862 GB, free: 2.316 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.1698, allocations: 8 kB / 0.6863 GB, free: 2.309 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 (4): * Single equations (assignments): 4 * 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.0001023/0.1699, allocations: 95.25 kB / 0.6863 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1701, allocations: 51.89 kB / 0.6864 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1701, allocations: 0 / 0.6864 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.1702, allocations: 35.97 kB / 0.6864 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.1705, allocations: 8 kB / 0.6864 GB, free: 2.113 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.1707, allocations: 129.5 kB / 0.6866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.171, allocations: 0.6846 MB / 0.6872 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.329e-05/0.171, allocations: 7.938 kB / 0.6872 GB, free: 1.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.171, allocations: 15.44 kB / 0.6873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.171, allocations: 0 / 0.6873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of Templates: time 0.002586/0.1736, allocations: 0.8011 MB / 0.688 GB, free: 448 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)