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.001461/0.001461, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001568/0.001568, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9632/0.9632, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.17 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1649, allocations: 80.92 MB / 0.5837 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002816/0.1677, allocations: 1.718 MB / 0.5854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000721/0.1685, allocations: 406.8 kB / 0.5858 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.1685, allocations: 4 kB / 0.5858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.687e-05/0.1686, allocations: 11.86 kB / 0.5858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.1687, allocations: 23.73 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.1691, allocations: 122.8 kB / 0.5859 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1692, allocations: 95.66 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1693, allocations: 27.98 kB / 0.586 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.1694, allocations: 47.83 kB / 0.5861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.1695, allocations: 39.78 kB / 0.5861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1695, allocations: 4 kB / 0.5861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1696, allocations: 59.95 kB / 0.5862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.1697, allocations: 19.92 kB / 0.5862 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.1697, allocations: 47.77 kB / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1699, allocations: 115.9 kB / 0.5864 GB, free: 2.293 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1699, allocations: 4 kB / 0.5864 GB, free: 2.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1699, allocations: 0 / 0.5864 GB, free: 2.289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.17, allocations: 0 / 0.5864 GB, free: 2.289 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.0005434/0.1705, allocations: 423.1 kB / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.1705, allocations: 16.03 kB / 0.5868 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.1708, allocations: 24.83 kB / 0.5868 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.171, allocations: 196.1 kB / 0.587 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.838e-05/0.171, allocations: 38.25 kB / 0.587 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.1711, allocations: 8.375 kB / 0.587 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.1713, allocations: 98.2 kB / 0.5871 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1713, allocations: 7.938 kB / 0.5871 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1713, allocations: 4 kB / 0.5871 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1714, allocations: 4 kB / 0.5871 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.1716, allocations: 75.94 kB / 0.5872 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.1723, allocations: 392.3 kB / 0.5876 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.1728, allocations: 126.5 kB / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1729, allocations: 44.88 kB / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.173, allocations: 4.156 kB / 0.5878 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.173, allocations: 34.56 kB / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.173, allocations: 0 / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004503/0.1735, allocations: 133.7 kB / 0.5879 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.1735, allocations: 55.34 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1736, allocations: 140.3 kB / 0.5881 GB, free: 312 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1736, allocations: 33.7 kB / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.1737, allocations: 104 kB / 0.5882 GB, free: 164 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.1737, allocations: 15.66 kB / 0.5883 GB, free: 148 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.1738, allocations: 21.72 kB / 0.5883 GB, free: 120 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1739, allocations: 322.8 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.174, allocations: 35.91 kB / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.1741, allocations: 53.62 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.1743, allocations: 73.69 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1743, allocations: 0 / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002554/0.1746, allocations: 114 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1746, allocations: 4 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1746, allocations: 8.031 kB / 0.5889 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1747, allocations: 3.984 kB / 0.5889 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1748, allocations: 15.94 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.1748, allocations: 7.984 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.601e-05/0.1749, allocations: 8 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1749, allocations: 3.938 kB / 0.5889 GB, free: 15.45 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.729e-05/0.175, allocations: 121.8 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.175, allocations: 7.906 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.1751, allocations: 20.7 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1751, allocations: 3.938 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1751, allocations: 0 / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1751, allocations: 0 / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.1753, allocations: 205.5 kB / 0.5892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.1753, allocations: 0 / 0.5892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1754, allocations: 15.98 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1755, allocations: 0 / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1755, allocations: 0 / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1755, allocations: 8.016 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1755, allocations: 7.984 kB / 0.5893 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.1759, allocations: 203.3 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.1759, allocations: 81.02 kB / 0.5895 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1759, allocations: 7.984 kB / 0.5895 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.1761, allocations: 15.92 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.1762, allocations: 8 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.1762, allocations: 0 / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.444e-05/0.1763, allocations: 107.2 kB / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.1e-07/0.1763, allocations: 0 / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002466/0.1765, allocations: 20 kB / 0.5897 GB, free: 14.54 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.0001109/0.1766, allocations: 99.25 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.1769, allocations: 75.83 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1769, allocations: 4.062 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.177, allocations: 39.97 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1774, allocations: 23.92 kB / 0.5899 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.1778, allocations: 236.7 kB / 0.5901 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1782, allocations: 0.6965 MB / 0.5908 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.185e-05/0.1782, allocations: 8.672 kB / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.1783, allocations: 11.44 kB / 0.5908 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1783, allocations: 0 / 0.5908 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.003544/0.1818, allocations: 1.336 MB / 0.5922 GB, free: 11.98 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)