Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7386/0.7386, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 403.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 109.1 kB / 484.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 52.06 kB / 0.5619 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1515, allocations: 80.21 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00253/0.1541, allocations: 1.344 MB / 0.6415 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.155, allocations: 0.5899 MB / 0.6421 GB, free: 4.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.155, allocations: 0 / 0.6421 GB, free: 4.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.155, allocations: 3.984 kB / 0.6421 GB, free: 4.836 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.969e-05/0.1551, allocations: 7.922 kB / 0.6421 GB, free: 4.828 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1554, allocations: 79.7 kB / 0.6422 GB, free: 4.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.1555, allocations: 15.88 kB / 0.6422 GB, free: 4.734 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.1555, allocations: 4 kB / 0.6422 GB, free: 4.73 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.1e-05/0.1556, allocations: 8 kB / 0.6422 GB, free: 4.723 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.061e-05/0.1556, allocations: 7.938 kB / 0.6422 GB, free: 4.715 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.1556, allocations: 4 kB / 0.6422 GB, free: 4.711 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.1559, allocations: 151.7 kB / 0.6423 GB, free: 4.562 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.1559, allocations: 0 / 0.6423 GB, free: 4.562 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.156, allocations: 7.938 kB / 0.6423 GB, free: 4.555 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1561, allocations: 92.12 kB / 0.6424 GB, free: 4.465 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1562, allocations: 0 / 0.6424 GB, free: 4.465 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1562, allocations: 0 / 0.6424 GB, free: 4.465 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1562, allocations: 0 / 0.6424 GB, free: 4.465 MB / 442.7 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.0003592/0.1565, allocations: 351.3 kB / 0.6428 GB, free: 4.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1566, allocations: 12.03 kB / 0.6428 GB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004221/0.157, allocations: 28.89 kB / 0.6428 GB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1571, allocations: 164.4 kB / 0.643 GB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1572, allocations: 4.375 kB / 0.643 GB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.1572, allocations: 384 / 0.643 GB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1573, allocations: 46.22 kB / 0.643 GB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1573, allocations: 4.188 kB / 0.643 GB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1574, allocations: 7.938 kB / 0.643 GB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1574, allocations: 0 / 0.643 GB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1575, allocations: 23.91 kB / 0.643 GB, free: 3.742 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.1577, allocations: 161.6 kB / 0.6432 GB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.1578, allocations: 46.53 kB / 0.6432 GB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/0.1579, allocations: 16.91 kB / 0.6433 GB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1579, allocations: 3.984 kB / 0.6433 GB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.1579, allocations: 34.56 kB / 0.6433 GB, free: 3.414 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1579, allocations: 0 / 0.6433 GB, free: 3.414 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002944/0.1582, allocations: 81.5 kB / 0.6434 GB, free: 3.328 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.1583, allocations: 55.34 kB / 0.6434 GB, free: 3.262 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.894e-05/0.1584, allocations: 97.84 kB / 0.6435 GB, free: 3.156 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1584, allocations: 25.7 kB / 0.6435 GB, free: 3.125 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.1584, allocations: 84.14 kB / 0.6436 GB, free: 3.039 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1584, allocations: 3.906 kB / 0.6436 GB, free: 3.035 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1585, allocations: 17.83 kB / 0.6436 GB, free: 3.012 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.1586, allocations: 314.8 kB / 0.6439 GB, free: 2.695 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.1586, allocations: 15.98 kB / 0.644 GB, free: 2.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.557e-05/0.1587, allocations: 11.98 kB / 0.644 GB, free: 2.668 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1588, allocations: 32.91 kB / 0.644 GB, free: 2.633 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1588, allocations: 4 kB / 0.644 GB, free: 2.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000163/0.159, allocations: 57.61 kB / 0.6441 GB, free: 2.566 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.159, allocations: 4 kB / 0.6441 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.159, allocations: 7.938 kB / 0.6441 GB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1591, allocations: 0 / 0.6441 GB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.1592, allocations: 8.172 kB / 0.6441 GB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1592, allocations: 3.938 kB / 0.6441 GB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.994e-05/0.1592, allocations: 8.031 kB / 0.6441 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1593, allocations: 3.984 kB / 0.6441 GB, free: 2.531 MB / 442.7 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 6.293e-05/0.1593, allocations: 115.1 kB / 0.6442 GB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.1593, allocations: 3.984 kB / 0.6442 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.1594, allocations: 11.06 kB / 0.6442 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1594, allocations: 0 / 0.6442 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1594, allocations: 0 / 0.6442 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1594, allocations: 4 kB / 0.6442 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.1595, allocations: 153.7 kB / 0.6444 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1595, allocations: 0 / 0.6444 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.1596, allocations: 7.984 kB / 0.6444 GB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1596, allocations: 4 kB / 0.6444 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1596, allocations: 3.938 kB / 0.6444 GB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1596, allocations: 3.984 kB / 0.6444 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1596, allocations: 0 / 0.6444 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.1601, allocations: 0.6396 MB / 0.645 GB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.1602, allocations: 89 kB / 0.6451 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.1602, allocations: 3.938 kB / 0.6451 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.959e-05/0.1602, allocations: 4 kB / 0.6451 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.1603, allocations: 8.016 kB / 0.6451 GB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1603, allocations: 0 / 0.6451 GB, free: 1.352 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.493e-05/0.1603, allocations: 87.22 kB / 0.6452 GB, free: 1.266 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1603, allocations: 0 / 0.6452 GB, free: 1.266 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.1606, allocations: 8 kB / 0.6452 GB, free: 1.258 MB / 442.7 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.0001468/0.1608, allocations: 111.2 kB / 0.6453 GB, free: 1.141 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.161, allocations: 31.97 kB / 0.6453 GB, free: 1.109 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.161, allocations: 0 / 0.6453 GB, free: 1.109 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.135e-05/0.1611, allocations: 15.98 kB / 0.6454 GB, free: 1.094 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.1613, allocations: 10.77 kB / 0.6454 GB, free: 1.086 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.1617, allocations: 232.2 kB / 0.6456 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1619, allocations: 0.6731 MB / 0.6462 GB, free: 124 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.367e-05/0.162, allocations: 4 kB / 0.6463 GB, free: 120 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.162, allocations: 15.42 kB / 0.6463 GB, free: 104 kB / 442.7 MB Notification: Performance of SimCode: time 2.11e-07/0.162, allocations: 0 / 0.6463 GB, free: 104 kB / 442.7 MB Notification: Performance of Templates: time 0.00262/0.1647, allocations: 0.7212 MB / 0.647 GB, free: 15.39 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)