Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001178/0.001178, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001236/0.001236, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6341/0.6341, allocations: 95.62 MB / 366 MB, free: 10.33 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007764/0.0007766, allocations: 23.98 kB / 446.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4953, allocations: 70.33 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001305/0.4966, allocations: 1.018 MB / 0.5061 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.4977, allocations: 0.7385 MB / 0.5068 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.4977, allocations: 0 / 0.5068 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.4978, allocations: 7.922 kB / 0.5068 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.4978, allocations: 7.922 kB / 0.5068 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.4982, allocations: 119.6 kB / 0.5069 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.324e-05/0.4982, allocations: 27.8 kB / 0.507 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.4983, allocations: 4 kB / 0.507 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.4983, allocations: 4 kB / 0.507 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.204e-05/0.4984, allocations: 19.91 kB / 0.507 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.4984, allocations: 4 kB / 0.507 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.4987, allocations: 203.7 kB / 0.5072 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.4988, allocations: 0 / 0.5072 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.4988, allocations: 29.7 kB / 0.5072 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.4989, allocations: 101.8 kB / 0.5073 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4989, allocations: 0 / 0.5073 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4989, allocations: 3.938 kB / 0.5073 GB, free: 14.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.499, allocations: 0 / 0.5073 GB, free: 14.18 MB / 382.1 MB 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.0002922/0.4993, allocations: 359.2 kB / 0.5077 GB, free: 13.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4993, allocations: 11.98 kB / 0.5077 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.4993, allocations: 4 kB / 0.5077 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.67e-05/0.4994, allocations: 159.1 kB / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4994, allocations: 0 / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.4995, allocations: 8 kB / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.159e-05/0.4996, allocations: 45.58 kB / 0.5079 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4996, allocations: 0 / 0.5079 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4996, allocations: 0 / 0.5079 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4996, allocations: 3.984 kB / 0.5079 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.4996, allocations: 4 kB / 0.5079 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.4998, allocations: 153.7 kB / 0.508 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.4999, allocations: 38.61 kB / 0.5081 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.5, allocations: 8.859 kB / 0.5081 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.5, allocations: 8.016 kB / 0.5081 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.5, allocations: 42.52 kB / 0.5081 GB, free: 13.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5, allocations: 0 / 0.5081 GB, free: 13.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009969/0.501, allocations: 432 kB / 0.5085 GB, free: 12.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.501, allocations: 55.41 kB / 0.5086 GB, free: 12.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.5011, allocations: 97.86 kB / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-06/0.5011, allocations: 29.64 kB / 0.5087 GB, free: 12.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.702e-05/0.5011, allocations: 80.14 kB / 0.5088 GB, free: 12.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.5012, allocations: 19.73 kB / 0.5088 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.5012, allocations: 4 kB / 0.5088 GB, free: 12.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.5012, allocations: 310.8 kB / 0.5091 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.5012, allocations: 12 kB / 0.5091 GB, free: 12.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.531e-05/0.5013, allocations: 11.92 kB / 0.5091 GB, free: 12.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.55e-05/0.5013, allocations: 12 kB / 0.5091 GB, free: 12.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5013, allocations: 0 / 0.5091 GB, free: 12.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.224e-05/0.5014, allocations: 57.7 kB / 0.5092 GB, free: 11.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.5014, allocations: 11.94 kB / 0.5092 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5014, allocations: 0 / 0.5092 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5014, allocations: 0 / 0.5092 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.394e-05/0.5015, allocations: 11.94 kB / 0.5092 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5015, allocations: 4 kB / 0.5092 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.5015, allocations: 0 / 0.5092 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.5015, allocations: 4 kB / 0.5092 GB, free: 11.94 MB / 382.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 (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 prepare postOptimizeDAE: time 5.046e-05/0.5016, allocations: 117.8 kB / 0.5093 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.5016, allocations: 3.906 kB / 0.5093 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.5017, allocations: 77.17 kB / 0.5094 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5017, allocations: 0 / 0.5094 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.5017, allocations: 0 / 0.5094 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5017, allocations: 0 / 0.5094 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.502, allocations: 307.7 kB / 0.5097 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.502, allocations: 8.016 kB / 0.5097 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.5021, allocations: 12 kB / 0.5097 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.5021, allocations: 0 / 0.5097 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.5021, allocations: 4 kB / 0.5097 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5021, allocations: 3.984 kB / 0.5097 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5022, allocations: 0 / 0.5097 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.5023, allocations: 176.4 kB / 0.5099 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.5024, allocations: 92.98 kB / 0.51 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.5024, allocations: 0.5156 kB / 0.51 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.5025, allocations: 8 kB / 0.51 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.5025, allocations: 0 / 0.51 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.5026, allocations: 7.938 kB / 0.51 GB, free: 11.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.084e-05/0.5026, allocations: 83.25 kB / 0.5101 GB, free: 10.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5026, allocations: 0 / 0.5101 GB, free: 10.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004174/0.503, allocations: 55.94 kB / 0.5101 GB, free: 10.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (pSatDer) * 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.0002874/0.5033, allocations: 171.2 kB / 0.5103 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.5034, allocations: 31.92 kB / 0.5103 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5035, allocations: 0 / 0.5103 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.5035, allocations: 16 kB / 0.5103 GB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.5039, allocations: 15.92 kB / 0.5104 GB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.5043, allocations: 224 kB / 0.5106 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.5045, allocations: 0.6848 MB / 0.5112 GB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.546e-05/0.5045, allocations: 3.984 kB / 0.5112 GB, free: 9.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.5045, allocations: 11.44 kB / 0.5113 GB, free: 9.68 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5046, allocations: 0 / 0.5113 GB, free: 9.68 MB / 382.1 MB Notification: Performance of Templates: time 0.004817/0.5094, allocations: 1.582 MB / 0.5128 GB, free: 8.148 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: