Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, 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.00137/0.00137, allocations: 194.5 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9349/0.9349, allocations: 135.6 MB / 425.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 62.83 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1518, allocations: 81.02 MB / 0.5845 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002521/0.1544, allocations: 1.464 MB / 0.5859 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000976/0.1554, allocations: 0.6006 MB / 0.5865 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.1554, allocations: 3.938 kB / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.1555, allocations: 0 / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.1555, allocations: 0 / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.1558, allocations: 87.64 kB / 0.5866 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.555e-05/0.1559, allocations: 27.92 kB / 0.5866 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.156, allocations: 4 kB / 0.5866 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.267e-05/0.156, allocations: 11.94 kB / 0.5866 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.1561, allocations: 15.97 kB / 0.5866 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.1561, allocations: 4 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.1563, allocations: 151.7 kB / 0.5868 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-06/0.1563, allocations: 0 / 0.5868 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.1564, allocations: 15.92 kB / 0.5868 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.1566, allocations: 96.03 kB / 0.5869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1566, allocations: 4 kB / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1566, allocations: 0 / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1566, allocations: 0 / 0.5869 GB, free: 1.859 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004506/0.157, allocations: 375.3 kB / 0.5873 GB, free: 1.441 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1571, allocations: 8.031 kB / 0.5873 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004264/0.1575, allocations: 24.91 kB / 0.5873 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1576, allocations: 160.4 kB / 0.5874 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1577, allocations: 384 / 0.5874 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1577, allocations: 4.375 kB / 0.5875 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.1579, allocations: 70.19 kB / 0.5875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1579, allocations: 8.125 kB / 0.5875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1579, allocations: 3.938 kB / 0.5875 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.158, allocations: 0 / 0.5875 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.1582, allocations: 51.94 kB / 0.5876 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.1587, allocations: 284.6 kB / 0.5879 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.1589, allocations: 58.47 kB / 0.5879 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.159, allocations: 36.89 kB / 0.5879 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1591, allocations: 0 / 0.5879 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1591, allocations: 34.56 kB / 0.588 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.1591, allocations: 0 / 0.588 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004893/0.1596, allocations: 121.5 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.1596, allocations: 51.41 kB / 0.5881 GB, free: 420 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.1597, allocations: 97.86 kB / 0.5882 GB, free: 312 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1597, allocations: 25.7 kB / 0.5883 GB, free: 280 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.1598, allocations: 88.06 kB / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.1598, allocations: 7.906 kB / 0.5884 GB, free: 180 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.1599, allocations: 13.72 kB / 0.5884 GB, free: 160 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.16, allocations: 323 kB / 0.5887 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1602, allocations: 23.97 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1603, allocations: 23.98 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.1605, allocations: 60.86 kB / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1605, allocations: 0 / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002889/0.1608, allocations: 93.52 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1609, allocations: 7.984 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1609, allocations: 4.031 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1609, allocations: 0 / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.161, allocations: 11.98 kB / 0.5889 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.161, allocations: 0 / 0.5889 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.1611, allocations: 11.98 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1611, allocations: 0 / 0.5889 GB, free: 15.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.373e-05/0.1612, allocations: 109.8 kB / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.1613, allocations: 7.906 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.1613, allocations: 15.11 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.1613, allocations: 192 / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1613, allocations: 3.938 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1613, allocations: 3.984 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.1615, allocations: 169.6 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1615, allocations: 0 / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1616, allocations: 11.98 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1616, allocations: 4 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1617, allocations: 3.984 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1617, allocations: 0 / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1617, allocations: 3.938 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.162, allocations: 187.4 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.1621, allocations: 81.09 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1621, allocations: 0 / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.1622, allocations: 15.94 kB / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.1623, allocations: 7.984 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1623, allocations: 0 / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.11e-05/0.1623, allocations: 79.28 kB / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1623, allocations: 0 / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002264/0.1626, allocations: 12 kB / 0.5896 GB, free: 14.79 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 (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.0001441/0.1627, allocations: 118.6 kB / 0.5897 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003012/0.163, allocations: 63.88 kB / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.163, allocations: 0 / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1632, allocations: 36.02 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1634, allocations: 7.938 kB / 0.5898 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.1638, allocations: 130.4 kB / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1641, allocations: 0.6768 MB / 0.5906 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.836e-05/0.1642, allocations: 16.05 kB / 0.5906 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.1643, allocations: 11.42 kB / 0.5906 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1643, allocations: 4 kB / 0.5906 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.002907/0.1672, allocations: 0.7299 MB / 0.5913 GB, free: 12.96 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)