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.001349/0.001349, allocations: 110 kB / 16.41 MB, free: 6.484 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.00139/0.00139, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7115/0.7115, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 65.88 kB / 0.5577 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1527, allocations: 76.19 MB / 0.6321 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002108/0.1549, allocations: 1.265 MB / 0.6333 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.1557, allocations: 0.5698 MB / 0.6339 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.1557, allocations: 0 / 0.6339 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.1558, allocations: 3.984 kB / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.123e-05/0.1558, allocations: 7.938 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.1563, allocations: 95.56 kB / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.823e-05/0.1564, allocations: 23.86 kB / 0.634 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.1564, allocations: 0 / 0.634 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.1565, allocations: 7.938 kB / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.1565, allocations: 7.938 kB / 0.634 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.527e-06/0.1565, allocations: 0 / 0.634 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.1568, allocations: 147.8 kB / 0.6342 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.206e-06/0.1568, allocations: 3.938 kB / 0.6342 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.1568, allocations: 11.92 kB / 0.6342 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.157, allocations: 91.84 kB / 0.6343 GB, free: 2.156 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.157, allocations: 0 / 0.6343 GB, free: 2.156 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.157, allocations: 0 / 0.6343 GB, free: 2.156 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.157, allocations: 0 / 0.6343 GB, free: 2.156 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.0003301/0.1573, allocations: 347.5 kB / 0.6346 GB, free: 1.766 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.1574, allocations: 8.031 kB / 0.6346 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003836/0.1578, allocations: 36.8 kB / 0.6346 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.795e-05/0.1579, allocations: 164.4 kB / 0.6348 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1579, allocations: 4.312 kB / 0.6348 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.1579, allocations: 4.375 kB / 0.6348 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1581, allocations: 50.22 kB / 0.6348 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1581, allocations: 192 / 0.6348 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1581, allocations: 3.938 kB / 0.6348 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1581, allocations: 0 / 0.6348 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1582, allocations: 23.98 kB / 0.6349 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.1584, allocations: 153.7 kB / 0.635 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1585, allocations: 42.52 kB / 0.6351 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.432e-05/0.1586, allocations: 20.91 kB / 0.6351 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.1586, allocations: 4 kB / 0.6351 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1586, allocations: 34.56 kB / 0.6351 GB, free: 1.113 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1586, allocations: 0 / 0.6351 GB, free: 1.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002772/0.1589, allocations: 69.59 kB / 0.6352 GB, free: 1.039 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.159, allocations: 55.53 kB / 0.6352 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/0.159, allocations: 101.8 kB / 0.6353 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1591, allocations: 33.69 kB / 0.6354 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.209e-05/0.1591, allocations: 80.14 kB / 0.6354 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.1591, allocations: 7.844 kB / 0.6354 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.1592, allocations: 17.66 kB / 0.6355 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.1592, allocations: 318.8 kB / 0.6358 GB, free: 400 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.794e-05/0.1593, allocations: 4 kB / 0.6358 GB, free: 396 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.1594, allocations: 19.98 kB / 0.6358 GB, free: 376 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1595, allocations: 24.84 kB / 0.6358 GB, free: 348 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1595, allocations: 7.984 kB / 0.6358 GB, free: 340 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001548/0.1597, allocations: 61.73 kB / 0.6359 GB, free: 272 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.1597, allocations: 4 kB / 0.6359 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1597, allocations: 3.938 kB / 0.6359 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1597, allocations: 3.938 kB / 0.6359 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.1598, allocations: 11.98 kB / 0.6359 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1598, allocations: 3.938 kB / 0.6359 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.1599, allocations: 3.938 kB / 0.6359 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1599, allocations: 4 kB / 0.6359 GB, free: 236 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 6.453e-05/0.16, allocations: 109.9 kB / 0.636 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.16, allocations: 3.906 kB / 0.636 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.16, allocations: 19.05 kB / 0.636 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.16, allocations: 0 / 0.636 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.16, allocations: 0 / 0.636 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.16, allocations: 4 kB / 0.636 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.1601, allocations: 149.7 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1601, allocations: 0 / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.1602, allocations: 7.984 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1602, allocations: 4 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1603, allocations: 11.94 kB / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1603, allocations: 0 / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1603, allocations: 0 / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.1604, allocations: 85.03 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1605, allocations: 85.14 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1605, allocations: 3.938 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.049e-05/0.1606, allocations: 7.984 kB / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.1606, allocations: 192 / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1606, allocations: 0 / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.029e-05/0.1607, allocations: 83.27 kB / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1607, allocations: 0 / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001879/0.1609, allocations: 12 kB / 0.6365 GB, free: 15.56 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.0001554/0.161, allocations: 111.2 kB / 0.6366 GB, free: 15.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1612, allocations: 31.97 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1612, allocations: 0 / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.42e-05/0.1613, allocations: 15.98 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.1615, allocations: 19.86 kB / 0.6366 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.1618, allocations: 110.8 kB / 0.6368 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.1621, allocations: 0.6767 MB / 0.6374 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.1622, allocations: 15.94 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.1623, allocations: 15.42 kB / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1623, allocations: 4 kB / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of Templates: time 0.002728/0.165, allocations: 0.7322 MB / 0.6382 GB, free: 13.77 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)