Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00446/0.00446, allocations: 101.1 kB / 15.73 MB, free: 6.469 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.001105/0.001105, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 270.7 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9536/0.9536, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 104.8 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.174, allocations: 86.97 MB / 0.7664 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002302/0.1763, allocations: 1.409 MB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008688/0.1772, allocations: 0.5855 MB / 0.7683 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.1772, allocations: 0 / 0.7683 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.1773, allocations: 3.938 kB / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.165e-05/0.1773, allocations: 15.86 kB / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.1777, allocations: 99.56 kB / 0.7684 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.807e-05/0.1777, allocations: 23.92 kB / 0.7685 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.073e-05/0.1778, allocations: 7.984 kB / 0.7685 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.1779, allocations: 11.94 kB / 0.7685 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.1779, allocations: 15.92 kB / 0.7685 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1779, allocations: 4 kB / 0.7685 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.1782, allocations: 139.8 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.1782, allocations: 12 kB / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.1782, allocations: 7.938 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.1784, allocations: 95.77 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1785, allocations: 0 / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1785, allocations: 3.938 kB / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1785, allocations: 3.984 kB / 0.7687 GB, free: 6.027 MB / 0.5606 GB 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.0003966/0.1789, allocations: 355.4 kB / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1789, allocations: 12.03 kB / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/0.1793, allocations: 28.91 kB / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1794, allocations: 176.2 kB / 0.7693 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.1794, allocations: 384 / 0.7693 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.1795, allocations: 4.375 kB / 0.7693 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.1797, allocations: 66.2 kB / 0.7694 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.1797, allocations: 192 / 0.7694 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1797, allocations: 7.938 kB / 0.7694 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1797, allocations: 0 / 0.7694 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.1799, allocations: 55.88 kB / 0.7694 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.1804, allocations: 272.9 kB / 0.7697 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1806, allocations: 66.45 kB / 0.7697 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.1807, allocations: 32.89 kB / 0.7698 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1808, allocations: 0 / 0.7698 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1808, allocations: 38.5 kB / 0.7698 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1808, allocations: 0 / 0.7698 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004621/0.1813, allocations: 109.6 kB / 0.7699 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.1813, allocations: 55.41 kB / 0.77 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.348e-05/0.1814, allocations: 102 kB / 0.7701 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1814, allocations: 29.7 kB / 0.7701 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1814, allocations: 80.14 kB / 0.7702 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.1815, allocations: 3.906 kB / 0.7702 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.1815, allocations: 17.7 kB / 0.7702 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.1816, allocations: 314.8 kB / 0.7705 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1817, allocations: 27.97 kB / 0.7705 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.1819, allocations: 31.91 kB / 0.7705 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.1821, allocations: 60.69 kB / 0.7706 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1821, allocations: 0 / 0.7706 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002844/0.1824, allocations: 93.62 kB / 0.7707 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1824, allocations: 8 kB / 0.7707 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1824, allocations: 0 / 0.7707 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1824, allocations: 0 / 0.7707 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1826, allocations: 15.98 kB / 0.7707 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1826, allocations: 0 / 0.7707 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.1827, allocations: 12.02 kB / 0.7707 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1827, allocations: 4 kB / 0.7707 GB, free: 3.762 MB / 0.5606 GB 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.263e-05/0.1828, allocations: 114.4 kB / 0.7708 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1828, allocations: 3.906 kB / 0.7708 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.1828, allocations: 7.125 kB / 0.7708 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1828, allocations: 0 / 0.7708 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1829, allocations: 7.938 kB / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1829, allocations: 0 / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.183, allocations: 169.6 kB / 0.771 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.183, allocations: 0 / 0.771 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1831, allocations: 15.97 kB / 0.771 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1832, allocations: 0 / 0.771 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1832, allocations: 0 / 0.771 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1832, allocations: 0 / 0.771 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1832, allocations: 0 / 0.771 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.1835, allocations: 191.4 kB / 0.7712 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.1836, allocations: 77.11 kB / 0.7713 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1836, allocations: 4 kB / 0.7713 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1837, allocations: 7.984 kB / 0.7713 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.1837, allocations: 8.031 kB / 0.7713 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1838, allocations: 0 / 0.7713 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.1838, allocations: 87.27 kB / 0.7714 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.534e-06/0.1838, allocations: 0 / 0.7714 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002385/0.1841, allocations: 15.94 kB / 0.7714 GB, free: 2.977 MB / 0.5606 GB 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.0002197/0.1843, allocations: 111.2 kB / 0.7715 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.1846, allocations: 63.88 kB / 0.7716 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1846, allocations: 0 / 0.7716 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1847, allocations: 31.97 kB / 0.7716 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.1851, allocations: 7.938 kB / 0.7716 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.1855, allocations: 146.6 kB / 0.7718 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.1858, allocations: 0.6729 MB / 0.7724 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.156e-05/0.1859, allocations: 4 kB / 0.7724 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.1859, allocations: 15.42 kB / 0.7724 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1859, allocations: 0 / 0.7724 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of Templates: time 0.003132/0.189, allocations: 0.8052 MB / 0.7732 GB, free: 1.07 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)