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.00114/0.001141, allocations: 118.5 kB / 17.09 MB, free: 5.988 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.00117/0.001171, allocations: 189.9 kB / 18.02 MB, free: 5.074 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.341/1.341, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7253/0.7253, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 70.92 kB / 0.5583 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1421, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002457/0.1446, allocations: 1.269 MB / 0.634 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009553/0.1456, allocations: 0.5775 MB / 0.6345 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.1456, allocations: 0 / 0.6345 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.1457, allocations: 0 / 0.6345 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.502e-05/0.1458, allocations: 7.938 kB / 0.6345 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.1462, allocations: 95.56 kB / 0.6346 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.351e-05/0.1463, allocations: 19.88 kB / 0.6347 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.1463, allocations: 3.984 kB / 0.6347 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.1464, allocations: 7.938 kB / 0.6347 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.1464, allocations: 11.92 kB / 0.6347 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1464, allocations: 4 kB / 0.6347 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.1467, allocations: 139.8 kB / 0.6348 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.1467, allocations: 3.984 kB / 0.6348 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.1468, allocations: 7.938 kB / 0.6348 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.147, allocations: 91.84 kB / 0.6349 GB, free: 2.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.147, allocations: 0 / 0.6349 GB, free: 2.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.147, allocations: 0 / 0.6349 GB, free: 2.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.147, allocations: 0 / 0.6349 GB, free: 2.16 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.0004127/0.1474, allocations: 347.5 kB / 0.6352 GB, free: 1.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1475, allocations: 8.031 kB / 0.6353 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/0.1479, allocations: 36.8 kB / 0.6353 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1481, allocations: 168.3 kB / 0.6355 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1481, allocations: 4.375 kB / 0.6355 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.1481, allocations: 384 / 0.6355 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.1483, allocations: 50.22 kB / 0.6355 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1483, allocations: 192 / 0.6355 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1483, allocations: 3.938 kB / 0.6355 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1483, allocations: 0 / 0.6355 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.1484, allocations: 23.98 kB / 0.6355 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1486, allocations: 157.7 kB / 0.6357 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1488, allocations: 42.53 kB / 0.6357 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.1488, allocations: 20.84 kB / 0.6357 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.1489, allocations: 4 kB / 0.6357 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1489, allocations: 34.56 kB / 0.6358 GB, free: 1.113 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1489, allocations: 0 / 0.6358 GB, free: 1.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.000308/0.1492, allocations: 69.59 kB / 0.6358 GB, free: 1.039 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1493, allocations: 55.53 kB / 0.6359 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.306e-05/0.1493, allocations: 105.8 kB / 0.636 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1494, allocations: 25.7 kB / 0.636 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.1494, allocations: 80.14 kB / 0.6361 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1494, allocations: 11.78 kB / 0.6361 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.1495, allocations: 21.7 kB / 0.6361 GB, free: 0.707 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1496, allocations: 310.8 kB / 0.6364 GB, free: 404 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.1497, allocations: 11.98 kB / 0.6364 GB, free: 392 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.363e-05/0.1497, allocations: 12 kB / 0.6365 GB, free: 380 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1499, allocations: 32.83 kB / 0.6365 GB, free: 344 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1499, allocations: 0 / 0.6365 GB, free: 344 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002157/0.1501, allocations: 57.77 kB / 0.6365 GB, free: 280 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1501, allocations: 8 kB / 0.6365 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1501, allocations: 11.88 kB / 0.6366 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1501, allocations: 0 / 0.6366 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1503, allocations: 11.92 kB / 0.6366 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1503, allocations: 0 / 0.6366 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.047e-05/0.1503, allocations: 4 kB / 0.6366 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1503, allocations: 0 / 0.6366 GB, free: 244 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.943e-05/0.1504, allocations: 109.8 kB / 0.6367 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.1504, allocations: 7.906 kB / 0.6367 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.1505, allocations: 15.06 kB / 0.6367 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1505, allocations: 0 / 0.6367 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1505, allocations: 0 / 0.6367 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1505, allocations: 0 / 0.6367 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.1507, allocations: 153.7 kB / 0.6368 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1507, allocations: 0 / 0.6368 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.1507, allocations: 7.984 kB / 0.6369 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1508, allocations: 12 kB / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1508, allocations: 3.938 kB / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1508, allocations: 0 / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1508, allocations: 0 / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.151, allocations: 89.03 kB / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.1511, allocations: 81.09 kB / 0.637 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1511, allocations: 7.969 kB / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.922e-05/0.1512, allocations: 4 kB / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.1512, allocations: 192 / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.1512, allocations: 3.938 kB / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.273e-05/0.1513, allocations: 87.25 kB / 0.6371 GB, free: 15.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1513, allocations: 0 / 0.6371 GB, free: 15.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.1515, allocations: 16 kB / 0.6371 GB, free: 15.55 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.0001641/0.1516, allocations: 119.2 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.1518, allocations: 27.97 kB / 0.6373 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1518, allocations: 0 / 0.6373 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.1519, allocations: 19.92 kB / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.1521, allocations: 4 kB / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.1525, allocations: 148.4 kB / 0.6374 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.1527, allocations: 0.6729 MB / 0.6381 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.1528, allocations: 15.42 kB / 0.6381 GB, free: 14.48 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1528, allocations: 0 / 0.6381 GB, free: 14.48 MB / 494.1 MB Notification: Performance of Templates: time 0.002132/0.1549, allocations: 0.7774 MB / 0.6389 GB, free: 13.71 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)