Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001402/0.001402, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 282.8 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9321/0.9321, allocations: 169.3 MB / 0.4988 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0021/0.002101, allocations: 98.25 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1644, allocations: 86.98 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003539/0.168, allocations: 1.656 MB / 0.6824 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008195/0.1688, allocations: 395.5 kB / 0.6828 GB, free: 6.117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.169, allocations: 7.938 kB / 0.6828 GB, free: 6.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1691, allocations: 15.86 kB / 0.6828 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.626e-05/0.1692, allocations: 23.78 kB / 0.6829 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.1697, allocations: 118.4 kB / 0.683 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1699, allocations: 107.6 kB / 0.6831 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1701, allocations: 48.17 kB / 0.6831 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.1702, allocations: 39.86 kB / 0.6832 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.1703, allocations: 51.75 kB / 0.6832 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.1703, allocations: 8 kB / 0.6832 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.1704, allocations: 59.95 kB / 0.6833 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.091e-05/0.1705, allocations: 19.92 kB / 0.6833 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.1706, allocations: 43.8 kB / 0.6833 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1708, allocations: 131.6 kB / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1708, allocations: 3.984 kB / 0.6835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1708, allocations: 0 / 0.6835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1708, allocations: 4 kB / 0.6835 GB, free: 5.449 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.0006103/0.1714, allocations: 407.2 kB / 0.6839 GB, free: 5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1715, allocations: 8.031 kB / 0.6839 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.1717, allocations: 28.81 kB / 0.6839 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.172, allocations: 208 kB / 0.6841 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/0.172, allocations: 30.27 kB / 0.6841 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1721, allocations: 12.38 kB / 0.6841 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.1723, allocations: 104.2 kB / 0.6842 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1724, allocations: 3.938 kB / 0.6842 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1724, allocations: 4 kB / 0.6842 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1724, allocations: 0 / 0.6842 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.1726, allocations: 83.88 kB / 0.6843 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/0.1733, allocations: 384.5 kB / 0.6847 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.1738, allocations: 130.5 kB / 0.6848 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.174, allocations: 44.88 kB / 0.6849 GB, free: 3.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.174, allocations: 0 / 0.6849 GB, free: 3.871 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.174, allocations: 30.56 kB / 0.6849 GB, free: 3.832 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.174, allocations: 0 / 0.6849 GB, free: 3.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000419/0.1744, allocations: 145.8 kB / 0.685 GB, free: 3.684 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.1745, allocations: 51.41 kB / 0.6851 GB, free: 3.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1746, allocations: 141.7 kB / 0.6852 GB, free: 3.473 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1746, allocations: 29.7 kB / 0.6852 GB, free: 3.438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.1747, allocations: 96.08 kB / 0.6853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.1747, allocations: 27.64 kB / 0.6854 GB, free: 3.312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.1748, allocations: 17.72 kB / 0.6854 GB, free: 3.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1749, allocations: 326.8 kB / 0.6857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.175, allocations: 31.97 kB / 0.6857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1751, allocations: 38.02 kB / 0.6858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.1753, allocations: 85.75 kB / 0.6858 GB, free: 2.797 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1753, allocations: 0 / 0.6858 GB, free: 2.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002501/0.1756, allocations: 109.6 kB / 0.6859 GB, free: 2.684 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1756, allocations: 6.031 kB / 0.6859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1756, allocations: 0 / 0.6859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1756, allocations: 4 kB / 0.686 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1757, allocations: 23.86 kB / 0.686 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1758, allocations: 0 / 0.686 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.454e-05/0.1758, allocations: 19.83 kB / 0.686 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1759, allocations: 8.031 kB / 0.686 GB, free: 2.625 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 (8): * Single equations (assignments): 8 * 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 8.53e-05/0.176, allocations: 113.8 kB / 0.6861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.176, allocations: 7.906 kB / 0.6861 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.176, allocations: 20.7 kB / 0.6861 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.176, allocations: 3.938 kB / 0.6861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1761, allocations: 0 / 0.6861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1761, allocations: 0 / 0.6861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.1763, allocations: 201.6 kB / 0.6863 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1763, allocations: 0 / 0.6863 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-05/0.1764, allocations: 27.92 kB / 0.6864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1764, allocations: 0 / 0.6864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1764, allocations: 0 / 0.6864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1764, allocations: 3.938 kB / 0.6864 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1764, allocations: 3.984 kB / 0.6864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.1767, allocations: 199.4 kB / 0.6866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.1767, allocations: 85.02 kB / 0.6866 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1768, allocations: 8 kB / 0.6866 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1769, allocations: 15.92 kB / 0.6867 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.177, allocations: 3.984 kB / 0.6867 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.177, allocations: 4 kB / 0.6867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.315e-05/0.1771, allocations: 107.2 kB / 0.6868 GB, free: 1.742 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1771, allocations: 0 / 0.6868 GB, free: 1.742 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1773, allocations: 23.94 kB / 0.6868 GB, free: 1.719 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 (7): * Single equations (assignments): 7 * 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.0001091/0.1774, allocations: 107.2 kB / 0.6869 GB, free: 1.605 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.1777, allocations: 75.88 kB / 0.687 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1777, allocations: 0 / 0.687 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1778, allocations: 43.91 kB / 0.687 GB, free: 1.488 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1782, allocations: 24.05 kB / 0.687 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.1787, allocations: 225.2 kB / 0.6872 GB, free: 1.215 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.1789, allocations: 0.6963 MB / 0.6879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.179, allocations: 15.44 kB / 0.6879 GB, free: 488 kB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.179, allocations: 0 / 0.6879 GB, free: 488 kB / 494.1 MB Notification: Performance of Templates: time 0.2773/0.4563, allocations: 1.309 MB / 0.6892 GB, free: 17.45 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)