Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00143/0.00143, allocations: 115.3 kB / 17.08 MB, free: 5.969 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.001178/0.001178, allocations: 200.2 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.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.726/0.726, allocations: 115.3 MB / 407.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 66.75 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1504, allocations: 76.19 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002351/0.1527, allocations: 1.392 MB / 0.6341 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009732/0.1537, allocations: 0.6006 MB / 0.6347 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.1538, allocations: 0 / 0.6347 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.1538, allocations: 0 / 0.6347 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.1539, allocations: 3.938 kB / 0.6347 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.1543, allocations: 99.56 kB / 0.6348 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.1544, allocations: 27.91 kB / 0.6348 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.1545, allocations: 8 kB / 0.6348 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.561e-05/0.1546, allocations: 15.94 kB / 0.6348 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.1547, allocations: 11.98 kB / 0.6348 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1547, allocations: 3.938 kB / 0.6348 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.1549, allocations: 143.8 kB / 0.635 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.155, allocations: 7.938 kB / 0.635 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.155, allocations: 11.98 kB / 0.635 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1552, allocations: 95.77 kB / 0.6351 GB, free: 2.008 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1552, allocations: 0 / 0.6351 GB, free: 2.008 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1552, allocations: 0 / 0.6351 GB, free: 2.008 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1552, allocations: 0 / 0.6351 GB, free: 2.008 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004432/0.1557, allocations: 363.3 kB / 0.6354 GB, free: 1.602 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1557, allocations: 8.031 kB / 0.6354 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000416/0.1561, allocations: 32.89 kB / 0.6355 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1563, allocations: 168.3 kB / 0.6356 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1563, allocations: 384 / 0.6356 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1563, allocations: 384 / 0.6356 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.1565, allocations: 66.2 kB / 0.6357 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1566, allocations: 192 / 0.6357 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1566, allocations: 7.938 kB / 0.6357 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1566, allocations: 0 / 0.6357 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.1568, allocations: 51.94 kB / 0.6357 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.1573, allocations: 276.8 kB / 0.636 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.1575, allocations: 70.34 kB / 0.6361 GB, free: 0.832 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.1577, allocations: 32.89 kB / 0.6361 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1577, allocations: 4 kB / 0.6361 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.1577, allocations: 30.56 kB / 0.6361 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1577, allocations: 0 / 0.6361 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004966/0.1582, allocations: 113.6 kB / 0.6362 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1583, allocations: 59.33 kB / 0.6363 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.1584, allocations: 101.9 kB / 0.6364 GB, free: 468 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1584, allocations: 25.7 kB / 0.6364 GB, free: 436 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.1584, allocations: 80.14 kB / 0.6365 GB, free: 352 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.1584, allocations: 7.891 kB / 0.6365 GB, free: 344 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.1585, allocations: 21.83 kB / 0.6365 GB, free: 316 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1586, allocations: 314.8 kB / 0.6368 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1587, allocations: 27.97 kB / 0.6369 GB, free: 15.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1589, allocations: 23.97 kB / 0.6369 GB, free: 15.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.1591, allocations: 60.86 kB / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1591, allocations: 0 / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002994/0.1594, allocations: 97.52 kB / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1594, allocations: 4 kB / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1595, allocations: 8.031 kB / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1595, allocations: 0 / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1596, allocations: 19.91 kB / 0.6371 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1596, allocations: 0 / 0.6371 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.918e-05/0.1597, allocations: 7.984 kB / 0.6371 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1597, allocations: 0 / 0.6371 GB, free: 15.74 MB / 494.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.937e-05/0.1598, allocations: 113.8 kB / 0.6372 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.1599, allocations: 4 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.1599, allocations: 7.312 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1599, allocations: 7.984 kB / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1599, allocations: 0 / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1599, allocations: 0 / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1601, allocations: 169.5 kB / 0.6374 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1601, allocations: 0 / 0.6374 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1602, allocations: 11.98 kB / 0.6374 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1602, allocations: 8 kB / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1602, allocations: 0 / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1602, allocations: 0 / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1603, allocations: 0 / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.1606, allocations: 195.3 kB / 0.6376 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.1606, allocations: 81.11 kB / 0.6376 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1607, allocations: 0 / 0.6376 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1608, allocations: 7.984 kB / 0.6376 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.1608, allocations: 3.938 kB / 0.6377 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.1608, allocations: 11.98 kB / 0.6377 GB, free: 15.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.413e-05/0.1609, allocations: 75.28 kB / 0.6377 GB, free: 14.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1609, allocations: 4 kB / 0.6377 GB, free: 14.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1611, allocations: 12 kB / 0.6377 GB, free: 14.95 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.0001594/0.1613, allocations: 111.3 kB / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003207/0.1616, allocations: 55.94 kB / 0.6379 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.1616, allocations: 0 / 0.6379 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.1618, allocations: 39.97 kB / 0.6379 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.1621, allocations: 13.42 kB / 0.638 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.1625, allocations: 148.4 kB / 0.6381 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1627, allocations: 0.6768 MB / 0.6388 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.1628, allocations: 11.48 kB / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1628, allocations: 7.938 kB / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of Templates: time 0.002418/0.1652, allocations: 0.9138 MB / 0.6397 GB, free: 12.91 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)