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.001263/0.001263, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001221/0.001221, allocations: 193.6 kB / 16.25 MB, free: 6.637 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9637/0.9637, allocations: 135.6 MB / 425.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 64.75 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1573, allocations: 81.02 MB / 0.5845 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002872/0.1602, allocations: 1.712 MB / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006789/0.1609, allocations: 394.8 kB / 0.5865 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.161, allocations: 4 kB / 0.5865 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1611, allocations: 11.86 kB / 0.5866 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.1612, allocations: 15.84 kB / 0.5866 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.1616, allocations: 115.5 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1617, allocations: 107.6 kB / 0.5868 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1618, allocations: 43.94 kB / 0.5868 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.1619, allocations: 43.84 kB / 0.5869 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.162, allocations: 35.84 kB / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.162, allocations: 8 kB / 0.5869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1621, allocations: 67.95 kB / 0.587 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.1622, allocations: 23.91 kB / 0.587 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.1622, allocations: 51.67 kB / 0.587 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1624, allocations: 119.9 kB / 0.5872 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1625, allocations: 0 / 0.5872 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1625, allocations: 4 kB / 0.5872 GB, free: 1.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1625, allocations: 0 / 0.5872 GB, free: 1.602 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.0005875/0.1631, allocations: 423 kB / 0.5876 GB, free: 1.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1631, allocations: 16.03 kB / 0.5876 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.1633, allocations: 28.81 kB / 0.5876 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1636, allocations: 196.1 kB / 0.5878 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.1636, allocations: 34.27 kB / 0.5878 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1637, allocations: 8.375 kB / 0.5878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.1639, allocations: 98.2 kB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1639, allocations: 7.938 kB / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.164, allocations: 4 kB / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.164, allocations: 4 kB / 0.5879 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.1642, allocations: 83.78 kB / 0.588 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.1649, allocations: 388.5 kB / 0.5884 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.1654, allocations: 130.6 kB / 0.5885 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.1655, allocations: 44.83 kB / 0.5886 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1656, allocations: 4 kB / 0.5886 GB, free: 0 / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1656, allocations: 34.56 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1656, allocations: 0 / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004236/0.166, allocations: 137.8 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1661, allocations: 51.41 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1662, allocations: 139.8 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1663, allocations: 33.7 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.1663, allocations: 104 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.1663, allocations: 15.66 kB / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.1664, allocations: 29.7 kB / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1665, allocations: 314.8 kB / 0.5894 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1666, allocations: 31.97 kB / 0.5894 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1668, allocations: 49.69 kB / 0.5895 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.167, allocations: 77.62 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.167, allocations: 0 / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002524/0.1672, allocations: 113.5 kB / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1672, allocations: 4 kB / 0.5897 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1673, allocations: 12.02 kB / 0.5897 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1673, allocations: 3.938 kB / 0.5897 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1674, allocations: 23.86 kB / 0.5897 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1674, allocations: 4 kB / 0.5897 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.707e-05/0.1675, allocations: 4 kB / 0.5897 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1675, allocations: 7.984 kB / 0.5897 GB, free: 14.75 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 9.534e-05/0.1676, allocations: 121.7 kB / 0.5898 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1677, allocations: 7.906 kB / 0.5898 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.1677, allocations: 16.72 kB / 0.5898 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1677, allocations: 3.938 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1677, allocations: 0 / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1677, allocations: 0 / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.1679, allocations: 205.5 kB / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.1679, allocations: 0 / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1681, allocations: 15.98 kB / 0.5901 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1681, allocations: 0 / 0.5901 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1681, allocations: 0 / 0.5901 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.1681, allocations: 7.938 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1681, allocations: 11.94 kB / 0.5901 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.1684, allocations: 199.4 kB / 0.5903 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.1684, allocations: 85 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1685, allocations: 4 kB / 0.5904 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.1686, allocations: 15.92 kB / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1687, allocations: 8 kB / 0.5904 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1687, allocations: 3.984 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.509e-05/0.1688, allocations: 105.3 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1688, allocations: 0 / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000231/0.169, allocations: 24 kB / 0.5905 GB, free: 13.84 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.0001397/0.1692, allocations: 95.25 kB / 0.5906 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.1694, allocations: 76.5 kB / 0.5907 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1694, allocations: 4.062 kB / 0.5907 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1696, allocations: 39.92 kB / 0.5907 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.17, allocations: 28.27 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.1704, allocations: 230.9 kB / 0.591 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1708, allocations: 0.6924 MB / 0.5916 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.002e-05/0.1709, allocations: 16.55 kB / 0.5916 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.1709, allocations: 11.44 kB / 0.5917 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1709, allocations: 4 kB / 0.5917 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.003968/0.1749, allocations: 1.389 MB / 0.593 GB, free: 11.23 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)