Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001169/0.001169, allocations: 108 kB / 15.6 MB, free: 132 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.001479/0.001479, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 61.08 kB / 0.5053 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1655, allocations: 80.93 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003146/0.1687, allocations: 1.649 MB / 0.586 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.1695, allocations: 406.8 kB / 0.5864 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.054e-05/0.1696, allocations: 3.938 kB / 0.5864 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.1697, allocations: 15.86 kB / 0.5864 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.018e-05/0.1698, allocations: 15.8 kB / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.1703, allocations: 122.6 kB / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1705, allocations: 111.6 kB / 0.5866 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1706, allocations: 31.98 kB / 0.5867 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.1707, allocations: 43.84 kB / 0.5867 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.1708, allocations: 39.83 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.1708, allocations: 8 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.171, allocations: 63.95 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.171, allocations: 23.92 kB / 0.5868 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.1711, allocations: 51.72 kB / 0.5869 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.1713, allocations: 123.9 kB / 0.587 GB, free: 1.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1713, allocations: 0 / 0.587 GB, free: 1.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1713, allocations: 0 / 0.587 GB, free: 1.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1713, allocations: 0 / 0.587 GB, free: 1.84 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.0005808/0.1719, allocations: 419.1 kB / 0.5874 GB, free: 1.379 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/0.172, allocations: 12.03 kB / 0.5874 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.1723, allocations: 28.81 kB / 0.5874 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1725, allocations: 204.1 kB / 0.5876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/0.1726, allocations: 34.27 kB / 0.5877 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.1726, allocations: 12.31 kB / 0.5877 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.1728, allocations: 102.2 kB / 0.5878 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1729, allocations: 7.938 kB / 0.5878 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1729, allocations: 4 kB / 0.5878 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1729, allocations: 4 kB / 0.5878 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.1732, allocations: 79.94 kB / 0.5879 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007129/0.1739, allocations: 392.2 kB / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.1744, allocations: 126.5 kB / 0.5884 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.1746, allocations: 44.88 kB / 0.5884 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.1746, allocations: 0 / 0.5884 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1746, allocations: 34.56 kB / 0.5884 GB, free: 200 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.1746, allocations: 0 / 0.5884 GB, free: 200 kB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004343/0.1751, allocations: 137.8 kB / 0.5886 GB, free: 56 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.1751, allocations: 55.34 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1753, allocations: 140 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1753, allocations: 25.7 kB / 0.5888 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.1754, allocations: 104 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.1754, allocations: 23.64 kB / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.1755, allocations: 21.72 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1756, allocations: 322.8 kB / 0.5892 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1757, allocations: 27.97 kB / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1758, allocations: 37.7 kB / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.176, allocations: 86.12 kB / 0.5894 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1761, allocations: 0 / 0.5894 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002761/0.1763, allocations: 117.5 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1764, allocations: 4 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1764, allocations: 0 / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1764, allocations: 4.031 kB / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1765, allocations: 23.92 kB / 0.5895 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1765, allocations: 3.938 kB / 0.5895 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.1766, allocations: 11.92 kB / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1767, allocations: 8 kB / 0.5895 GB, free: 15 MB / 0.4981 GB 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.473e-05/0.1767, allocations: 113.8 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.1768, allocations: 11.84 kB / 0.5897 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.1768, allocations: 12.7 kB / 0.5897 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1768, allocations: 11.94 kB / 0.5897 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1768, allocations: 0 / 0.5897 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1769, allocations: 0 / 0.5897 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.1771, allocations: 197.5 kB / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1771, allocations: 4 kB / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1772, allocations: 15.98 kB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1772, allocations: 0 / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1772, allocations: 0 / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.46e-05/0.1772, allocations: 7.922 kB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1772, allocations: 0 / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.1775, allocations: 207.3 kB / 0.5901 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.1776, allocations: 85.02 kB / 0.5902 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1776, allocations: 4 kB / 0.5902 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.1778, allocations: 23.86 kB / 0.5902 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.1779, allocations: 7.969 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1779, allocations: 8 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.436e-05/0.1779, allocations: 109.6 kB / 0.5903 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.178, allocations: 0 / 0.5903 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002559/0.1782, allocations: 20 kB / 0.5903 GB, free: 14.08 MB / 0.4981 GB 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.0001142/0.1783, allocations: 96.58 kB / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.1786, allocations: 75.89 kB / 0.5905 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1786, allocations: 64 / 0.5905 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.1788, allocations: 43.91 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1792, allocations: 19.98 kB / 0.5906 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.1796, allocations: 214.9 kB / 0.5908 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1799, allocations: 0.6924 MB / 0.5914 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.155e-05/0.18, allocations: 12.66 kB / 0.5915 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.1801, allocations: 15.44 kB / 0.5915 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1801, allocations: 0 / 0.5915 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of Templates: time 0.004014/0.1841, allocations: 1.439 MB / 0.5929 GB, free: 11.44 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)