Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001079/0.001079, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 198 kB / 16.53 MB, free: 6.668 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7198/0.7198, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.75 kB / 0.5018 GB, free: 8.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 80.21 MB / 0.5801 GB, free: 8.773 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00288/0.1677, allocations: 1.66 MB / 0.5817 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007337/0.1685, allocations: 402.7 kB / 0.5821 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.1686, allocations: 0 / 0.5821 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.323e-05/0.1687, allocations: 11.86 kB / 0.5821 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.661e-05/0.1688, allocations: 27.78 kB / 0.5821 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.1692, allocations: 118.5 kB / 0.5822 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1694, allocations: 107.6 kB / 0.5823 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1695, allocations: 35.97 kB / 0.5824 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.1696, allocations: 47.84 kB / 0.5824 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.1697, allocations: 35.84 kB / 0.5825 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.1697, allocations: 8 kB / 0.5825 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.1698, allocations: 63.95 kB / 0.5825 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.1699, allocations: 23.91 kB / 0.5826 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.1699, allocations: 47.73 kB / 0.5826 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1701, allocations: 123.9 kB / 0.5827 GB, free: 6.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1702, allocations: 4 kB / 0.5827 GB, free: 6.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1702, allocations: 0 / 0.5827 GB, free: 6.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1702, allocations: 0 / 0.5827 GB, free: 6.062 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.0005538/0.1707, allocations: 424.6 kB / 0.5831 GB, free: 5.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.1708, allocations: 8.031 kB / 0.5831 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.171, allocations: 28.81 kB / 0.5832 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.1712, allocations: 192.2 kB / 0.5833 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/0.1713, allocations: 46.19 kB / 0.5834 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1713, allocations: 8.312 kB / 0.5834 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.1716, allocations: 100.4 kB / 0.5835 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1716, allocations: 3.938 kB / 0.5835 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1716, allocations: 4 kB / 0.5835 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1716, allocations: 7.984 kB / 0.5835 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.1719, allocations: 79.94 kB / 0.5836 GB, free: 5.082 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/0.1725, allocations: 388.5 kB / 0.584 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.173, allocations: 130.6 kB / 0.5841 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.1732, allocations: 44.78 kB / 0.5841 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.1732, allocations: 7.938 kB / 0.5841 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.1732, allocations: 30.56 kB / 0.5842 GB, free: 4.422 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1732, allocations: 0 / 0.5842 GB, free: 4.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004085/0.1737, allocations: 137.7 kB / 0.5843 GB, free: 4.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.1737, allocations: 55.41 kB / 0.5843 GB, free: 4.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1738, allocations: 144.2 kB / 0.5845 GB, free: 4.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1738, allocations: 25.7 kB / 0.5845 GB, free: 4.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.1739, allocations: 104 kB / 0.5846 GB, free: 3.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.1739, allocations: 19.66 kB / 0.5846 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.174, allocations: 25.7 kB / 0.5846 GB, free: 3.879 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.1741, allocations: 314.8 kB / 0.5849 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1742, allocations: 39.91 kB / 0.585 GB, free: 3.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1743, allocations: 46 kB / 0.585 GB, free: 3.473 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.1745, allocations: 81.83 kB / 0.5851 GB, free: 3.387 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1745, allocations: 0 / 0.5851 GB, free: 3.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002605/0.1748, allocations: 117.5 kB / 0.5852 GB, free: 3.266 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1748, allocations: 8 kB / 0.5852 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1748, allocations: 0 / 0.5852 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1748, allocations: 0 / 0.5852 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.175, allocations: 23.92 kB / 0.5852 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.175, allocations: 32 / 0.5852 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.907e-05/0.1751, allocations: 11.94 kB / 0.5853 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1751, allocations: 4 kB / 0.5853 GB, free: 3.219 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.415e-05/0.1752, allocations: 126.4 kB / 0.5854 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.1752, allocations: 11.84 kB / 0.5854 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.1752, allocations: 8.719 kB / 0.5854 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1753, allocations: 3.938 kB / 0.5854 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1753, allocations: 0 / 0.5854 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1753, allocations: 4 kB / 0.5854 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1755, allocations: 205.5 kB / 0.5856 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1755, allocations: 0 / 0.5856 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.1756, allocations: 15.98 kB / 0.5856 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1756, allocations: 4 kB / 0.5856 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1756, allocations: 0 / 0.5856 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1756, allocations: 3.938 kB / 0.5856 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1756, allocations: 0 / 0.5856 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.1759, allocations: 203.4 kB / 0.5858 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.176, allocations: 92.94 kB / 0.5859 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.176, allocations: 0 / 0.5859 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.1761, allocations: 15.92 kB / 0.5859 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.1762, allocations: 4 kB / 0.5859 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1762, allocations: 7.984 kB / 0.5859 GB, free: 2.434 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.541e-05/0.1763, allocations: 107.2 kB / 0.586 GB, free: 2.328 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1763, allocations: 0 / 0.586 GB, free: 2.328 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1765, allocations: 24 kB / 0.5861 GB, free: 2.305 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 9.065e-05/0.1766, allocations: 95.25 kB / 0.5862 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.1769, allocations: 75.88 kB / 0.5862 GB, free: 2.129 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1769, allocations: 0 / 0.5862 GB, free: 2.129 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.177, allocations: 35.98 kB / 0.5863 GB, free: 2.094 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1774, allocations: 28.05 kB / 0.5863 GB, free: 2.066 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.1778, allocations: 210.9 kB / 0.5865 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1781, allocations: 0.6963 MB / 0.5872 GB, free: 1.109 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.014e-05/0.1781, allocations: 16.66 kB / 0.5872 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.1782, allocations: 11.44 kB / 0.5872 GB, free: 1.078 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1782, allocations: 0 / 0.5872 GB, free: 1.078 MB / 494.1 MB Notification: Performance of Templates: time 0.003647/0.1818, allocations: 1.441 MB / 0.5886 GB, free: 15.66 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)