Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008246/0.0008246, allocations: 99.62 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.0008833/0.0008833, allocations: 177.3 kB / 15.95 MB, free: 216 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.23/1.23, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8713/0.8713, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 16 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 82.3 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00158/0.1507, allocations: 0.9862 MB / 0.5882 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.1516, allocations: 0.5053 MB / 0.5887 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.1517, allocations: 0 / 0.5887 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.1517, allocations: 0 / 0.5887 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.395e-05/0.1518, allocations: 11.91 kB / 0.5887 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.1522, allocations: 87.67 kB / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.536e-05/0.1523, allocations: 15.98 kB / 0.5888 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.754e-05/0.1524, allocations: 3.984 kB / 0.5888 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.755e-05/0.1524, allocations: 11.98 kB / 0.5888 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.1525, allocations: 7.938 kB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1525, allocations: 0 / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.1528, allocations: 151.8 kB / 0.5889 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.1528, allocations: 7.938 kB / 0.5889 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.1529, allocations: 29.7 kB / 0.589 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.1531, allocations: 64.14 kB / 0.589 GB, free: 1.254 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1531, allocations: 0 / 0.589 GB, free: 1.254 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1531, allocations: 0 / 0.589 GB, free: 1.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1531, allocations: 4 kB / 0.589 GB, free: 1.25 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003895/0.1535, allocations: 343.3 kB / 0.5894 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1535, allocations: 8.031 kB / 0.5894 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000419/0.1539, allocations: 27.97 kB / 0.5894 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1541, allocations: 167 kB / 0.5896 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1541, allocations: 0 / 0.5896 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1541, allocations: 8 kB / 0.5896 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1543, allocations: 49.66 kB / 0.5896 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1543, allocations: 3.938 kB / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1543, allocations: 0 / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1543, allocations: 0 / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1545, allocations: 27.91 kB / 0.5896 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.1547, allocations: 161.6 kB / 0.5898 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1548, allocations: 46.58 kB / 0.5898 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1548, allocations: 64 / 0.5898 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.1549, allocations: 34.56 kB / 0.5899 GB, free: 236 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1549, allocations: 0 / 0.5899 GB, free: 236 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003025/0.1552, allocations: 77.59 kB / 0.5899 GB, free: 152 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1552, allocations: 51.41 kB / 0.59 GB, free: 88 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.107e-05/0.1553, allocations: 93.86 kB / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1553, allocations: 29.7 kB / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.1554, allocations: 84.12 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.1554, allocations: 3.906 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.1554, allocations: 0 / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.1556, allocations: 318.9 kB / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.1556, allocations: 15.98 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.106e-05/0.1557, allocations: 11.98 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.019e-05/0.1557, allocations: 8 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1558, allocations: 0 / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/0.1559, allocations: 65.67 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.156, allocations: 7.938 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.156, allocations: 3.984 kB / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.156, allocations: 0 / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1561, allocations: 4 kB / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1561, allocations: 4 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.1562, allocations: 7.984 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1562, allocations: 0 / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.232e-05/0.1563, allocations: 124.3 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.1563, allocations: 0 / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.1564, allocations: 3.125 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1564, allocations: 0 / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1564, allocations: 0 / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1564, allocations: 7.984 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1565, allocations: 165.5 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1565, allocations: 0 / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.1566, allocations: 11.98 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1566, allocations: 0 / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1566, allocations: 0 / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1566, allocations: 0 / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1566, allocations: 4 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.1568, allocations: 89 kB / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.1569, allocations: 85.09 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.1569, allocations: 4 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.477e-05/0.157, allocations: 0 / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.157, allocations: 3.984 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.157, allocations: 8 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.1571, allocations: 75.28 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1571, allocations: 0 / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002134/0.1573, allocations: 16 kB / 0.5912 GB, free: 14.73 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 (2): * Single equations (assignments): 2 * 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.0001833/0.1575, allocations: 117.5 kB / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.1577, allocations: 27.97 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1577, allocations: 3.938 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.046e-05/0.1577, allocations: 15.98 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.1579, allocations: 16.06 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.1582, allocations: 120.6 kB / 0.5915 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1585, allocations: 0.6774 MB / 0.5921 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.207e-05/0.1586, allocations: 15.94 kB / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.1586, allocations: 11.42 kB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1586, allocations: 0 / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.002659/0.1613, allocations: 0.6885 MB / 0.5928 GB, free: 12.99 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: