Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.00119/0.00119, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 65.09 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4007, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00274/0.4035, allocations: 1.404 MB / 1.07 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.4046, allocations: 0.5959 MB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.4046, allocations: 0 / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.4047, allocations: 7.875 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.857e-05/0.4047, allocations: 3.984 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.4051, allocations: 99.56 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.05e-05/0.4052, allocations: 27.86 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.4053, allocations: 8 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.4053, allocations: 8 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.4054, allocations: 15.92 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.4054, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.4057, allocations: 151.7 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.4057, allocations: 0 / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.4057, allocations: 11.94 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.406, allocations: 108 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.406, allocations: 0 / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.406, allocations: 0 / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.406, allocations: 0 / 1.071 GB, free: 7.988 MB / 0.8262 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.0004744/0.4065, allocations: 367.3 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.4065, allocations: 8.031 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004335/0.4069, allocations: 28.89 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.4071, allocations: 164.4 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.4072, allocations: 384 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.4072, allocations: 384 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.4074, allocations: 70.2 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4074, allocations: 192 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.4075, allocations: 3.938 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4075, allocations: 4 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.4077, allocations: 47.94 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.4082, allocations: 276.7 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.4084, allocations: 62.47 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.4086, allocations: 36.89 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.4086, allocations: 0 / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.4086, allocations: 34.56 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/0.4086, allocations: 0 / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000511/0.4091, allocations: 121.4 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.4092, allocations: 51.41 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.4093, allocations: 101.8 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.4093, allocations: 29.7 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.4094, allocations: 84.08 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.4094, allocations: 7.906 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.4094, allocations: 17.7 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4096, allocations: 315 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.4097, allocations: 23.97 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.4098, allocations: 27.97 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.4101, allocations: 64.86 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.4102, allocations: 0 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003051/0.4105, allocations: 89.52 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4105, allocations: 4 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4105, allocations: 8.016 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4105, allocations: 4 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.4107, allocations: 15.97 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4107, allocations: 0 / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.4108, allocations: 7.938 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4108, allocations: 3.984 kB / 1.073 GB, free: 5.723 MB / 0.8262 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 8.595e-05/0.4109, allocations: 118.3 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.4109, allocations: 8 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.411, allocations: 3.312 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.411, allocations: 3.984 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.411, allocations: 4 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.411, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.4112, allocations: 165.6 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4112, allocations: 3.984 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.4113, allocations: 11.98 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4113, allocations: 4 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.4113, allocations: 4 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4113, allocations: 0 / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4113, allocations: 3.938 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.4117, allocations: 187.3 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.4118, allocations: 81.11 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.4118, allocations: 7.938 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.4119, allocations: 7.984 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.4119, allocations: 0 / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.412, allocations: 3.984 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.412, allocations: 79.28 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.412, allocations: 0 / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002432/0.4123, allocations: 12 kB / 1.073 GB, free: 4.934 MB / 0.8262 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.0001838/0.4124, allocations: 119.3 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.4128, allocations: 59.88 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4128, allocations: 0 / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.4129, allocations: 32.03 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.4132, allocations: 5.656 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.4137, allocations: 134.5 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.414, allocations: 0.6807 MB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.282e-05/0.4141, allocations: 11.94 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.4142, allocations: 7.438 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.4142, allocations: 4 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.003012/0.4172, allocations: 0.7821 MB / 1.075 GB, free: 3.043 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)