Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00108/0.00108, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001111/0.001111, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.251/1.251, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 277.5 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9126/0.9126, allocations: 169.3 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 93.56 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1595, allocations: 86.98 MB / 0.6809 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002349/0.1619, allocations: 1.289 MB / 0.6821 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009844/0.1629, allocations: 0.6278 MB / 0.6827 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.1629, allocations: 0 / 0.6827 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.1629, allocations: 4 kB / 0.6827 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.163, allocations: 7.922 kB / 0.6827 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.1635, allocations: 115.5 kB / 0.6828 GB, free: 6.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.578e-05/0.1635, allocations: 27.86 kB / 0.6829 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.1636, allocations: 7.984 kB / 0.6829 GB, free: 6.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.304e-05/0.1636, allocations: 4 kB / 0.6829 GB, free: 6.078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.1637, allocations: 11.98 kB / 0.6829 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1637, allocations: 7.938 kB / 0.6829 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.164, allocations: 147.7 kB / 0.683 GB, free: 5.914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.164, allocations: 7.984 kB / 0.6831 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.164, allocations: 4 kB / 0.6831 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1642, allocations: 100 kB / 0.6832 GB, free: 5.805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1642, allocations: 0 / 0.6832 GB, free: 5.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1642, allocations: 0 / 0.6832 GB, free: 5.805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1642, allocations: 0 / 0.6832 GB, free: 5.805 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004571/0.1647, allocations: 347.5 kB / 0.6835 GB, free: 5.414 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1647, allocations: 12.03 kB / 0.6835 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004173/0.1651, allocations: 36.89 kB / 0.6835 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1653, allocations: 160.4 kB / 0.6837 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1653, allocations: 4.312 kB / 0.6837 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1653, allocations: 8.281 kB / 0.6837 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1655, allocations: 58.16 kB / 0.6838 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1655, allocations: 4.188 kB / 0.6838 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1655, allocations: 3.938 kB / 0.6838 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1655, allocations: 0 / 0.6838 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1657, allocations: 31.97 kB / 0.6838 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1658, allocations: 157.7 kB / 0.6839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.1662, allocations: 74.53 kB / 0.684 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.629e-05/0.1663, allocations: 24.88 kB / 0.684 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1663, allocations: 4 kB / 0.684 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.1663, allocations: 30.56 kB / 0.6841 GB, free: 4.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1663, allocations: 0 / 0.6841 GB, free: 4.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003266/0.1696, allocations: 0.5798 MB / 0.6846 GB, free: 4.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.1696, allocations: 55.39 kB / 0.6847 GB, free: 4.004 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.1697, allocations: 89.86 kB / 0.6848 GB, free: 3.906 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1697, allocations: 33.83 kB / 0.6848 GB, free: 3.867 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.1698, allocations: 80.14 kB / 0.6849 GB, free: 3.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.1698, allocations: 15.72 kB / 0.6849 GB, free: 3.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.1699, allocations: 29.69 kB / 0.6849 GB, free: 3.734 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.17, allocations: 314.8 kB / 0.6852 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1701, allocations: 35.97 kB / 0.6853 GB, free: 3.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.1703, allocations: 48.7 kB / 0.6853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.1705, allocations: 76.77 kB / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1705, allocations: 0 / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003555/0.1709, allocations: 121.6 kB / 0.6855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1709, allocations: 11.92 kB / 0.6855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1709, allocations: 4 kB / 0.6855 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.171, allocations: 0 / 0.6855 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.1712, allocations: 19.97 kB / 0.6855 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1712, allocations: 0 / 0.6855 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1713, allocations: 16 kB / 0.6855 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.1714, allocations: 3.984 kB / 0.6855 GB, free: 3.078 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 (7): * Single equations (assignments): 7 * 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 8.684e-05/0.1715, allocations: 113.8 kB / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.1715, allocations: 3.938 kB / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/0.1716, allocations: 16.23 kB / 0.6857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1716, allocations: 4 kB / 0.6857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1716, allocations: 0 / 0.6857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1716, allocations: 4.047 kB / 0.6857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.1717, allocations: 195.7 kB / 0.6859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1718, allocations: 0 / 0.6859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.172, allocations: 19.97 kB / 0.6859 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.172, allocations: 7.938 kB / 0.6859 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.172, allocations: 3.984 kB / 0.6859 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.172, allocations: 0 / 0.6859 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.172, allocations: 4 kB / 0.6859 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.1726, allocations: 192.9 kB / 0.6861 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.1726, allocations: 93.08 kB / 0.6862 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.1726, allocations: 4 kB / 0.6862 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.1728, allocations: 11.98 kB / 0.6862 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.1728, allocations: 0 / 0.6862 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1729, allocations: 7.984 kB / 0.6862 GB, free: 2.316 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.1729, allocations: 75.28 kB / 0.6863 GB, free: 2.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1729, allocations: 0 / 0.6863 GB, free: 2.242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1732, allocations: 36.03 kB / 0.6863 GB, free: 2.207 MB / 494.1 MB 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 (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.0001903/0.1734, allocations: 127.2 kB / 0.6864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003425/0.1737, allocations: 91.86 kB / 0.6865 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1737, allocations: 0 / 0.6865 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1739, allocations: 51.95 kB / 0.6866 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.1741, allocations: 6.188 kB / 0.6866 GB, free: 1.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.1747, allocations: 196 kB / 0.6868 GB, free: 1.703 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.1749, allocations: 0.6807 MB / 0.6874 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.199e-05/0.175, allocations: 19.41 kB / 0.6874 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.175, allocations: 0 / 0.6874 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of Templates: time 0.2426/0.4177, allocations: 1.571 MB / 0.689 GB, free: 18.22 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)