Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00089/0.00089, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008696/0.0008695, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.012/1.012, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002988, allocations: 12 kB / 0.5158 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1699, allocations: 83.41 MB / 0.5973 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001293/0.1712, allocations: 0.99 MB / 0.5983 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009367/0.1722, allocations: 0.5738 MB / 0.5988 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.966e-05/0.1722, allocations: 0 / 0.5988 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.1722, allocations: 7.984 kB / 0.5988 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.784e-05/0.1723, allocations: 3.984 kB / 0.5988 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.1727, allocations: 91.72 kB / 0.5989 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.1728, allocations: 15.97 kB / 0.5989 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.1728, allocations: 4 kB / 0.5989 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.1729, allocations: 15.94 kB / 0.599 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.1729, allocations: 11.97 kB / 0.599 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.173, allocations: 0 / 0.599 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.1733, allocations: 159.7 kB / 0.5991 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.1733, allocations: 4 kB / 0.5991 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.1733, allocations: 29.7 kB / 0.5992 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1735, allocations: 64.14 kB / 0.5992 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1735, allocations: 0 / 0.5992 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.845e-06/0.1735, allocations: 4 kB / 0.5992 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1735, allocations: 0 / 0.5992 GB, free: 5.801 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004238/0.1739, allocations: 355.3 kB / 0.5996 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.174, allocations: 8.031 kB / 0.5996 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004244/0.1744, allocations: 39.75 kB / 0.5996 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1745, allocations: 159.1 kB / 0.5998 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1746, allocations: 4 kB / 0.5998 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1746, allocations: 4 kB / 0.5998 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1748, allocations: 57.64 kB / 0.5998 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1748, allocations: 0 / 0.5998 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1748, allocations: 4 kB / 0.5998 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1748, allocations: 3.938 kB / 0.5998 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.175, allocations: 27.97 kB / 0.5999 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.1752, allocations: 177.6 kB / 0.6 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.1755, allocations: 70.47 kB / 0.6001 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1756, allocations: 0 / 0.6001 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1756, allocations: 30.56 kB / 0.6001 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.1756, allocations: 4 kB / 0.6001 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003445/0.179, allocations: 0.5643 MB / 0.6007 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.1791, allocations: 55.39 kB / 0.6007 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.1792, allocations: 105.8 kB / 0.6008 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1792, allocations: 29.64 kB / 0.6009 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.1792, allocations: 80.14 kB / 0.6009 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.1793, allocations: 19.72 kB / 0.601 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.1793, allocations: 0 / 0.601 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.1794, allocations: 318.8 kB / 0.6013 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1795, allocations: 36.09 kB / 0.6013 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.1797, allocations: 35.97 kB / 0.6013 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1798, allocations: 35.98 kB / 0.6014 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1798, allocations: 0 / 0.6014 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003464/0.1802, allocations: 129.8 kB / 0.6015 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1802, allocations: 4 kB / 0.6015 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1802, allocations: 3.984 kB / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1802, allocations: 0 / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.1805, allocations: 27.91 kB / 0.6015 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1805, allocations: 0 / 0.6015 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1807, allocations: 4 kB / 0.6015 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.1807, allocations: 19.94 kB / 0.6015 GB, free: 3.164 MB / 0.4981 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/0.1808, allocations: 105.8 kB / 0.6016 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.1808, allocations: 7.906 kB / 0.6016 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.1809, allocations: 7.969 kB / 0.6017 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1809, allocations: 4 kB / 0.6017 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1809, allocations: 0 / 0.6017 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1809, allocations: 7.938 kB / 0.6017 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.1811, allocations: 183.7 kB / 0.6018 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1811, allocations: 0 / 0.6018 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.1813, allocations: 23.97 kB / 0.6019 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1813, allocations: 3.938 kB / 0.6019 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1813, allocations: 7.984 kB / 0.6019 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1813, allocations: 0 / 0.6019 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1814, allocations: 0 / 0.6019 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.1819, allocations: 196.9 kB / 0.6021 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.1819, allocations: 77.11 kB / 0.6021 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.182, allocations: 4.391 kB / 0.6021 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.1822, allocations: 16.14 kB / 0.6022 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.1822, allocations: 4 kB / 0.6022 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1822, allocations: 7.984 kB / 0.6022 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.1823, allocations: 79.28 kB / 0.6022 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1823, allocations: 0 / 0.6022 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002669/0.1825, allocations: 31.94 kB / 0.6023 GB, free: 2.309 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002302/0.1828, allocations: 128.6 kB / 0.6024 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.1831, allocations: 91.84 kB / 0.6025 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1831, allocations: 0 / 0.6025 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1833, allocations: 47.95 kB / 0.6025 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.1835, allocations: 11.95 kB / 0.6025 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.1841, allocations: 166.9 kB / 0.6027 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1844, allocations: 0.6926 MB / 0.6034 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002331/0.1846, allocations: 31.88 kB / 0.6034 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.1847, allocations: 15.42 kB / 0.6034 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of SimCode: time 2.996e-06/0.1847, allocations: 0 / 0.6034 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of Templates: time 0.2577/0.4424, allocations: 1.44 MB / 0.6048 GB, free: 40.3 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: