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-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_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.0008634/0.0008634, allocations: 99 kB / 15.05 MB, free: 1.105 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.0008501/0.0008501, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8815/0.8815, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002932, allocations: 9.281 kB / 0.5068 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1595, allocations: 82.31 MB / 0.5872 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001633/0.1611, allocations: 1.334 MB / 0.5885 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005633/0.1617, allocations: 343.2 kB / 0.5888 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.1618, allocations: 0 / 0.5888 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.1618, allocations: 7.922 kB / 0.5888 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.117e-05/0.1619, allocations: 31.94 kB / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.1622, allocations: 105.2 kB / 0.589 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.1624, allocations: 71.84 kB / 0.589 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1625, allocations: 32.16 kB / 0.5891 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.152e-05/0.1625, allocations: 27.92 kB / 0.5891 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.1626, allocations: 31.84 kB / 0.5891 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1626, allocations: 4 kB / 0.5891 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1628, allocations: 59.89 kB / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.1628, allocations: 19.91 kB / 0.5892 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.1628, allocations: 41.64 kB / 0.5892 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.163, allocations: 92.08 kB / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.163, allocations: 0 / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.163, allocations: 3.938 kB / 0.5893 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.163, allocations: 0 / 0.5893 GB, free: 0.8867 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.0004937/0.1635, allocations: 409.4 kB / 0.5897 GB, free: 452 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.1635, allocations: 8.031 kB / 0.5897 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.1637, allocations: 39.78 kB / 0.5898 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.1639, allocations: 186.9 kB / 0.5899 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.178e-05/0.164, allocations: 37.64 kB / 0.59 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.164, allocations: 4 kB / 0.59 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.1643, allocations: 113.6 kB / 0.5901 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.1643, allocations: 0 / 0.5901 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1643, allocations: 4 kB / 0.5901 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1643, allocations: 4 kB / 0.5901 GB, free: 0 / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.1646, allocations: 92.02 kB / 0.5902 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.1652, allocations: 388.2 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.1657, allocations: 138.6 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.1657, allocations: 7.984 kB / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1657, allocations: 34.5 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1657, allocations: 0 / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0003999/0.1662, allocations: 157.8 kB / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1662, allocations: 59.34 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.1663, allocations: 140 kB / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1663, allocations: 25.7 kB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.1664, allocations: 100.2 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.1664, allocations: 23.66 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.1664, allocations: 0 / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.1665, allocations: 322.8 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.933e-05/0.1666, allocations: 31.98 kB / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1668, allocations: 57.62 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.949e-05/0.1669, allocations: 31.98 kB / 0.5916 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1669, allocations: 0 / 0.5916 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002504/0.1671, allocations: 129.5 kB / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1672, allocations: 4 kB / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1672, allocations: 0 / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1672, allocations: 4 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1673, allocations: 23.92 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1673, allocations: 4.031 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.1674, allocations: 12 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1674, allocations: 3.984 kB / 0.5918 GB, free: 14.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.534e-05/0.1675, allocations: 113.8 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1675, allocations: 11.86 kB / 0.5919 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.1676, allocations: 16.72 kB / 0.5919 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1676, allocations: 0 / 0.5919 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1676, allocations: 11.94 kB / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1676, allocations: 0 / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1678, allocations: 209.4 kB / 0.5922 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1678, allocations: 0 / 0.5922 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1679, allocations: 23.92 kB / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1679, allocations: 0 / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1679, allocations: 3.953 kB / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1679, allocations: 0 / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1679, allocations: 0 / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.1682, allocations: 211.4 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.1683, allocations: 85 kB / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1683, allocations: 4 kB / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.1685, allocations: 27.88 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1685, allocations: 4 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1685, allocations: 3.984 kB / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.1686, allocations: 105.5 kB / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1686, allocations: 0 / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00022/0.1688, allocations: 20 kB / 0.5926 GB, free: 13.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.1689, allocations: 99.19 kB / 0.5927 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.1692, allocations: 91.92 kB / 0.5928 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1692, allocations: 0 / 0.5928 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1693, allocations: 47.98 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.1696, allocations: 23.97 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.17, allocations: 229 kB / 0.5931 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1702, allocations: 0.7004 MB / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.196e-05/0.1703, allocations: 8.672 kB / 0.5938 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.1703, allocations: 11.44 kB / 0.5938 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1703, allocations: 0 / 0.5938 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.003183/0.1735, allocations: 1.266 MB / 0.595 GB, free: 10.69 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: