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.001023/0.001023, allocations: 102.1 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.001134/0.001134, allocations: 193.9 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 284.3 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8865/0.8865, allocations: 169.3 MB / 0.4989 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 101.6 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1558, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002631/0.1585, allocations: 1.657 MB / 0.6832 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006281/0.1591, allocations: 399.6 kB / 0.6836 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.1592, allocations: 7.938 kB / 0.6836 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.061e-05/0.1593, allocations: 19.8 kB / 0.6836 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.162e-05/0.1594, allocations: 19.8 kB / 0.6836 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.1597, allocations: 111.6 kB / 0.6837 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.1599, allocations: 111.6 kB / 0.6838 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.16, allocations: 51.83 kB / 0.6839 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.593e-05/0.1601, allocations: 35.86 kB / 0.6839 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.1601, allocations: 43.78 kB / 0.684 GB, free: 5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1602, allocations: 8 kB / 0.684 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1603, allocations: 59.95 kB / 0.684 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.1603, allocations: 31.89 kB / 0.6841 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.1604, allocations: 47.8 kB / 0.6841 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1606, allocations: 123.6 kB / 0.6842 GB, free: 4.734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1606, allocations: 4 kB / 0.6842 GB, free: 4.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1606, allocations: 0 / 0.6842 GB, free: 4.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1606, allocations: 0 / 0.6842 GB, free: 4.73 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.0005185/0.1611, allocations: 415.2 kB / 0.6846 GB, free: 4.273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.1612, allocations: 12.03 kB / 0.6846 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.1614, allocations: 36.75 kB / 0.6847 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1616, allocations: 196.1 kB / 0.6849 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.1616, allocations: 34.27 kB / 0.6849 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1617, allocations: 8.375 kB / 0.6849 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.1619, allocations: 101 kB / 0.685 GB, free: 3.848 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1619, allocations: 15.86 kB / 0.685 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.162, allocations: 0 / 0.685 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.162, allocations: 8 kB / 0.685 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.1622, allocations: 79.88 kB / 0.6851 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.1628, allocations: 372.5 kB / 0.6855 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.1633, allocations: 138.6 kB / 0.6856 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1634, allocations: 44.83 kB / 0.6856 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1634, allocations: 0 / 0.6856 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1635, allocations: 34.56 kB / 0.6857 GB, free: 3.098 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1635, allocations: 4 kB / 0.6857 GB, free: 3.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004175/0.1639, allocations: 129.6 kB / 0.6858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.164, allocations: 55.41 kB / 0.6858 GB, free: 2.895 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1641, allocations: 141.7 kB / 0.686 GB, free: 2.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1641, allocations: 29.7 kB / 0.686 GB, free: 2.711 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.1642, allocations: 96.12 kB / 0.6861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1642, allocations: 23.64 kB / 0.6861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.1643, allocations: 25.72 kB / 0.6861 GB, free: 2.559 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1644, allocations: 318.8 kB / 0.6864 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.563e-05/0.1645, allocations: 23.98 kB / 0.6865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1646, allocations: 49.69 kB / 0.6865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.1648, allocations: 85.75 kB / 0.6866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1648, allocations: 0 / 0.6866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002346/0.1651, allocations: 109.5 kB / 0.6867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1651, allocations: 11.94 kB / 0.6867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1651, allocations: 0 / 0.6867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1651, allocations: 0 / 0.6867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1652, allocations: 23.86 kB / 0.6867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1652, allocations: 8.031 kB / 0.6867 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.1653, allocations: 19.83 kB / 0.6868 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1653, allocations: 4 kB / 0.6868 GB, free: 1.891 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 9.685e-05/0.1654, allocations: 109.8 kB / 0.6869 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.1655, allocations: 11.91 kB / 0.6869 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.1655, allocations: 12.72 kB / 0.6869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1655, allocations: 7.875 kB / 0.6869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1655, allocations: 0 / 0.6869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1656, allocations: 7.984 kB / 0.6869 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.1658, allocations: 193.6 kB / 0.6871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.1658, allocations: 0 / 0.6871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.696e-05/0.1659, allocations: 15.98 kB / 0.6871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1659, allocations: 3.938 kB / 0.6871 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1659, allocations: 4 kB / 0.6871 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1659, allocations: 4.484 kB / 0.6871 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1659, allocations: 0 / 0.6871 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.1662, allocations: 211.4 kB / 0.6873 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.1663, allocations: 81.02 kB / 0.6874 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1663, allocations: 12 kB / 0.6874 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1664, allocations: 11.92 kB / 0.6874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.1665, allocations: 7.984 kB / 0.6874 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1665, allocations: 4 kB / 0.6874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.1666, allocations: 101.3 kB / 0.6875 GB, free: 1.016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1666, allocations: 4 kB / 0.6875 GB, free: 1.012 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1668, allocations: 27.94 kB / 0.6876 GB, free: 0.9844 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.0001016/0.1669, allocations: 99.19 kB / 0.6877 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.1672, allocations: 75.94 kB / 0.6877 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1672, allocations: 0 / 0.6877 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.1673, allocations: 35.92 kB / 0.6878 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1676, allocations: 31.97 kB / 0.6878 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.168, allocations: 199 kB / 0.688 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2253/0.3933, allocations: 0.688 MB / 0.6887 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.902e-05/0.3934, allocations: 11.52 kB / 0.6887 GB, free: 17.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.3934, allocations: 12.19 kB / 0.6887 GB, free: 17.53 MB / 494.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3935, allocations: 1.188 kB / 0.6887 GB, free: 17.53 MB / 494.1 MB Notification: Performance of Templates: time 0.004837/0.3983, allocations: 1.45 MB / 0.6901 GB, free: 17.5 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)