Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001124/0.001124, allocations: 116.8 kB / 17.09 MB, free: 5.965 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.001077/0.001077, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.361/1.361, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.719/0.719, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 61.5 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1566, allocations: 76.19 MB / 0.6327 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002156/0.1588, allocations: 1.266 MB / 0.634 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009103/0.1598, allocations: 0.5775 MB / 0.6345 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.1598, allocations: 0 / 0.6345 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.1598, allocations: 0 / 0.6345 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.1599, allocations: 11.92 kB / 0.6346 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.1603, allocations: 95.56 kB / 0.6346 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.664e-05/0.1603, allocations: 19.88 kB / 0.6347 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.1604, allocations: 0 / 0.6347 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.405e-05/0.1604, allocations: 11.97 kB / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.1605, allocations: 7.938 kB / 0.6347 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1605, allocations: 0 / 0.6347 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.1608, allocations: 147.7 kB / 0.6348 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-06/0.1608, allocations: 0 / 0.6348 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.1608, allocations: 11.92 kB / 0.6348 GB, free: 2.223 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.161, allocations: 91.84 kB / 0.6349 GB, free: 2.133 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.161, allocations: 0 / 0.6349 GB, free: 2.133 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.161, allocations: 0 / 0.6349 GB, free: 2.133 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.161, allocations: 0 / 0.6349 GB, free: 2.133 MB / 478.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.0003858/0.1614, allocations: 351.4 kB / 0.6353 GB, free: 1.738 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1615, allocations: 8.031 kB / 0.6353 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/0.1619, allocations: 28.81 kB / 0.6353 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.162, allocations: 164.4 kB / 0.6354 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.162, allocations: 384 / 0.6354 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.162, allocations: 4.375 kB / 0.6355 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1622, allocations: 54.16 kB / 0.6355 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1622, allocations: 192 / 0.6355 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1622, allocations: 3.938 kB / 0.6355 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1622, allocations: 0 / 0.6355 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.1624, allocations: 27.97 kB / 0.6355 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.1626, allocations: 153.7 kB / 0.6357 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1627, allocations: 38.58 kB / 0.6357 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.776e-05/0.1628, allocations: 20.92 kB / 0.6357 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1628, allocations: 7.938 kB / 0.6357 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.1628, allocations: 34.55 kB / 0.6358 GB, free: 1.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1628, allocations: 4 kB / 0.6358 GB, free: 1.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002911/0.1631, allocations: 65.61 kB / 0.6358 GB, free: 1.016 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1632, allocations: 55.39 kB / 0.6359 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.1633, allocations: 102 kB / 0.636 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1633, allocations: 25.7 kB / 0.636 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.1633, allocations: 84.14 kB / 0.6361 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.1634, allocations: 7.844 kB / 0.6361 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.1634, allocations: 21.64 kB / 0.6361 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1635, allocations: 314.8 kB / 0.6364 GB, free: 380 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.1636, allocations: 7.984 kB / 0.6364 GB, free: 372 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.955e-05/0.1636, allocations: 23.92 kB / 0.6365 GB, free: 348 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1638, allocations: 24.84 kB / 0.6365 GB, free: 320 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1638, allocations: 0 / 0.6365 GB, free: 320 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001761/0.164, allocations: 61.67 kB / 0.6365 GB, free: 252 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.164, allocations: 8.094 kB / 0.6365 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.164, allocations: 3.938 kB / 0.6366 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.164, allocations: 0 / 0.6366 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1641, allocations: 15.92 kB / 0.6366 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1641, allocations: 0 / 0.6366 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.776e-05/0.1642, allocations: 0 / 0.6366 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1642, allocations: 7.984 kB / 0.6366 GB, free: 216 kB / 478.1 MB 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 7.124e-05/0.1643, allocations: 110.4 kB / 0.6367 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.1643, allocations: 7.906 kB / 0.6367 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.1644, allocations: 11.06 kB / 0.6367 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1644, allocations: 0 / 0.6367 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1644, allocations: 0 / 0.6367 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1644, allocations: 192 / 0.6367 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.1645, allocations: 153.7 kB / 0.6368 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1645, allocations: 3.984 kB / 0.6368 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.693e-05/0.1646, allocations: 7.984 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1646, allocations: 0 / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1646, allocations: 15.92 kB / 0.6369 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1646, allocations: 0 / 0.6369 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1646, allocations: 0 / 0.6369 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.1648, allocations: 77.11 kB / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.1649, allocations: 89.09 kB / 0.637 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1649, allocations: 7.969 kB / 0.637 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.165, allocations: 4 kB / 0.637 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.165, allocations: 3.938 kB / 0.637 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.165, allocations: 3.984 kB / 0.637 GB, free: 15.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.1651, allocations: 79.28 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1651, allocations: 0 / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002025/0.1653, allocations: 12 kB / 0.6371 GB, free: 15.54 MB / 494.1 MB 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.0001572/0.1655, allocations: 115.2 kB / 0.6372 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.1656, allocations: 31.97 kB / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1657, allocations: 0 / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.1657, allocations: 15.98 kB / 0.6373 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1659, allocations: 8 kB / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.1663, allocations: 148.4 kB / 0.6374 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1665, allocations: 0.6768 MB / 0.6381 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.1666, allocations: 15.38 kB / 0.6381 GB, free: 14.46 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1666, allocations: 0 / 0.6381 GB, free: 14.46 MB / 494.1 MB Notification: Performance of Templates: time 0.00212/0.1687, allocations: 0.7893 MB / 0.6389 GB, free: 13.68 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)