Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001198/0.001198, allocations: 114.9 kB / 16.37 MB, free: 5.984 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.00123/0.00123, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.232/1.232, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 290.4 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8855/0.8855, allocations: 169.2 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 98.83 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.156, allocations: 86.97 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002198/0.1582, allocations: 1.293 MB / 0.6829 GB, free: 6.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.159, allocations: 0.5499 MB / 0.6834 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.506e-05/0.1591, allocations: 0 / 0.6834 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.1591, allocations: 4 kB / 0.6834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.932e-05/0.1591, allocations: 7.922 kB / 0.6834 GB, free: 5.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.1595, allocations: 99.5 kB / 0.6835 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.194e-05/0.1595, allocations: 19.88 kB / 0.6835 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.1596, allocations: 3.984 kB / 0.6835 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.226e-05/0.1596, allocations: 7.938 kB / 0.6835 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.44e-05/0.1597, allocations: 7.938 kB / 0.6836 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.1597, allocations: 0 / 0.6836 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.1599, allocations: 151.8 kB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.295e-06/0.16, allocations: 0 / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.16, allocations: 8 kB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1602, allocations: 91.77 kB / 0.6838 GB, free: 5.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1602, allocations: 0 / 0.6838 GB, free: 5.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1602, allocations: 0 / 0.6838 GB, free: 5.184 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1602, allocations: 0 / 0.6838 GB, free: 5.184 MB / 494.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.0003438/0.1605, allocations: 347.5 kB / 0.6841 GB, free: 4.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1606, allocations: 12.03 kB / 0.6841 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003974/0.161, allocations: 28.91 kB / 0.6842 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1611, allocations: 168.2 kB / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1611, allocations: 384 / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1611, allocations: 384 / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1612, allocations: 50.22 kB / 0.6844 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1613, allocations: 192 / 0.6844 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1613, allocations: 7.938 kB / 0.6844 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1613, allocations: 7.938 kB / 0.6844 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1614, allocations: 23.97 kB / 0.6844 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.1616, allocations: 157.7 kB / 0.6846 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1617, allocations: 46.48 kB / 0.6846 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.1618, allocations: 16.92 kB / 0.6846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1618, allocations: 0 / 0.6846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.1618, allocations: 38.55 kB / 0.6847 GB, free: 4.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.1618, allocations: 0 / 0.6847 GB, free: 4.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002714/0.1621, allocations: 69.7 kB / 0.6847 GB, free: 4.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.1621, allocations: 59.39 kB / 0.6848 GB, free: 3.988 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/0.1622, allocations: 93.86 kB / 0.6849 GB, free: 3.887 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1622, allocations: 25.7 kB / 0.6849 GB, free: 3.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.406e-05/0.1623, allocations: 84.08 kB / 0.685 GB, free: 3.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1623, allocations: 15.84 kB / 0.685 GB, free: 3.754 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.1623, allocations: 13.7 kB / 0.685 GB, free: 3.734 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.1624, allocations: 314.8 kB / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.1625, allocations: 16.02 kB / 0.6853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.984e-05/0.1626, allocations: 11.98 kB / 0.6853 GB, free: 3.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1627, allocations: 28.84 kB / 0.6854 GB, free: 3.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1627, allocations: 0 / 0.6854 GB, free: 3.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001522/0.1628, allocations: 65.86 kB / 0.6854 GB, free: 3.289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.1629, allocations: 4 kB / 0.6854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1629, allocations: 3.938 kB / 0.6854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1629, allocations: 3.984 kB / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.163, allocations: 11.92 kB / 0.6854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.163, allocations: 4 kB / 0.6854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.1631, allocations: 0 / 0.6854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1631, allocations: 3.984 kB / 0.6854 GB, free: 3.258 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 6.905e-05/0.1631, allocations: 117.9 kB / 0.6856 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.1632, allocations: 0 / 0.6856 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.1632, allocations: 7.062 kB / 0.6856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1632, allocations: 0 / 0.6856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1632, allocations: 4 kB / 0.6856 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.1632, allocations: 0 / 0.6856 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.1633, allocations: 165.6 kB / 0.6857 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1633, allocations: 4 kB / 0.6857 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.261e-05/0.1634, allocations: 4 kB / 0.6857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1634, allocations: 0 / 0.6857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1634, allocations: 7.922 kB / 0.6857 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1634, allocations: 3.984 kB / 0.6857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1634, allocations: 4 kB / 0.6858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.1636, allocations: 88.95 kB / 0.6858 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.1637, allocations: 85.09 kB / 0.6859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.1637, allocations: 3.938 kB / 0.6859 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.775e-05/0.1638, allocations: 0 / 0.6859 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.1638, allocations: 4 kB / 0.6859 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.1638, allocations: 3.984 kB / 0.6859 GB, free: 2.668 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.848e-05/0.1638, allocations: 79.28 kB / 0.686 GB, free: 2.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1639, allocations: 4 kB / 0.686 GB, free: 2.586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001858/0.164, allocations: 8.031 kB / 0.686 GB, free: 2.578 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.0001392/0.1642, allocations: 115.2 kB / 0.6861 GB, free: 2.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.1643, allocations: 27.97 kB / 0.6862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1644, allocations: 4 kB / 0.6862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.222e-05/0.1644, allocations: 19.98 kB / 0.6862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.1646, allocations: 13.31 kB / 0.6862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.1649, allocations: 114.7 kB / 0.6863 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.1651, allocations: 0.6768 MB / 0.687 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.547e-05/0.1652, allocations: 15.94 kB / 0.687 GB, free: 1.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.1652, allocations: 7.438 kB / 0.687 GB, free: 1.527 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1652, allocations: 0 / 0.687 GB, free: 1.527 MB / 494.1 MB Notification: Performance of Templates: time 0.002538/0.1678, allocations: 0.7439 MB / 0.6877 GB, free: 0.8008 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)