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.001114/0.001114, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001118/0.001119, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 282.9 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9348/0.9348, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 88.42 kB / 0.5947 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1471, allocations: 86.98 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002522/0.1497, allocations: 1.353 MB / 0.681 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008827/0.1506, allocations: 0.5498 MB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.1506, allocations: 8 kB / 0.6815 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.1507, allocations: 7.922 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.1507, allocations: 3.984 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.1511, allocations: 87.64 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.958e-05/0.1511, allocations: 15.88 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.1512, allocations: 7.938 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.256e-05/0.1512, allocations: 7.984 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.717e-05/0.1513, allocations: 8 kB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.1513, allocations: 0 / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.1515, allocations: 147.7 kB / 0.6818 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.1516, allocations: 4 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.1516, allocations: 11.92 kB / 0.6818 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1517, allocations: 92.06 kB / 0.6819 GB, free: 14.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1518, allocations: 0 / 0.6819 GB, free: 14.76 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1518, allocations: 0 / 0.6819 GB, free: 14.76 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1518, allocations: 0 / 0.6819 GB, free: 14.76 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.0003539/0.1521, allocations: 343.5 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1522, allocations: 8.031 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004321/0.1526, allocations: 32.89 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1527, allocations: 172.2 kB / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1528, allocations: 4.375 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.1528, allocations: 4.375 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1529, allocations: 46.22 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1529, allocations: 192 / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.153, allocations: 7.938 kB / 0.6825 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.153, allocations: 0 / 0.6825 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.1531, allocations: 27.97 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.1532, allocations: 161.6 kB / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1534, allocations: 50.53 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.1535, allocations: 12.91 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.1535, allocations: 0 / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1535, allocations: 38.56 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1535, allocations: 0 / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002855/0.1538, allocations: 77.59 kB / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.1539, allocations: 51.41 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/0.1539, allocations: 105.7 kB / 0.683 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.154, allocations: 25.7 kB / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.154, allocations: 80.14 kB / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.154, allocations: 11.84 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.1541, allocations: 17.7 kB / 0.6831 GB, free: 13.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.1542, allocations: 315 kB / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.1542, allocations: 15.98 kB / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.1543, allocations: 7.984 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1544, allocations: 32.84 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1544, allocations: 0 / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001599/0.1546, allocations: 57.73 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1546, allocations: 4 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1546, allocations: 7.938 kB / 0.6835 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1546, allocations: 3.938 kB / 0.6835 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1548, allocations: 7.984 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1548, allocations: 0 / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.1548, allocations: 4 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1548, allocations: 8.016 kB / 0.6835 GB, free: 12.83 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.414e-05/0.1549, allocations: 111.2 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.1549, allocations: 0 / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.155, allocations: 11.06 kB / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.155, allocations: 0 / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.155, allocations: 0 / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.155, allocations: 0 / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.1551, allocations: 153.7 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1551, allocations: 4 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-05/0.1552, allocations: 7.984 kB / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1552, allocations: 4 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.1552, allocations: 3.938 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1552, allocations: 3.984 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1552, allocations: 0 / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.1554, allocations: 96.89 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.1555, allocations: 81.09 kB / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1555, allocations: 3.938 kB / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.599e-05/0.1556, allocations: 4 kB / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-06/0.1556, allocations: 4.125 kB / 0.684 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.1556, allocations: 8 kB / 0.684 GB, free: 12.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.28e-05/0.1557, allocations: 87.25 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1557, allocations: 0 / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000201/0.1559, allocations: 16.03 kB / 0.6841 GB, free: 12.14 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.000164/0.1561, allocations: 111.2 kB / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.1563, allocations: 27.97 kB / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1563, allocations: 0 / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.1563, allocations: 23.98 kB / 0.6843 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.1566, allocations: 4 kB / 0.6843 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.1569, allocations: 122.6 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.1571, allocations: 0.6729 MB / 0.685 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.901e-05/0.1572, allocations: 16.05 kB / 0.6851 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.1572, allocations: 7.438 kB / 0.6851 GB, free: 11.11 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1572, allocations: 0 / 0.6851 GB, free: 11.11 MB / 494.1 MB Notification: Performance of Templates: time 0.002769/0.16, allocations: 0.7361 MB / 0.6858 GB, free: 10.39 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)