Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001246/0.001246, 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.00135/0.00135, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.198/1.198, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.347/1.347, allocations: 251.7 MB / 0.5092 GB, free: 3.012 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.91 kB / 0.6223 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3907, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002134/0.3929, allocations: 1.411 MB / 0.7259 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008078/0.3937, allocations: 0.5937 MB / 0.7265 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.3937, allocations: 0 / 0.7265 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.3938, allocations: 3.938 kB / 0.7265 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.085e-05/0.3938, allocations: 3.938 kB / 0.7265 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.3941, allocations: 95.56 kB / 0.7266 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.215e-05/0.3942, allocations: 27.88 kB / 0.7266 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.989e-05/0.3943, allocations: 15.97 kB / 0.7266 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.03e-05/0.3943, allocations: 8 kB / 0.7266 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.3944, allocations: 15.92 kB / 0.7266 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.3944, allocations: 0 / 0.7266 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.3946, allocations: 135.8 kB / 0.7268 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.3946, allocations: 7.984 kB / 0.7268 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.3947, allocations: 11.94 kB / 0.7268 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.3948, allocations: 101.7 kB / 0.7269 GB, free: 10.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3949, allocations: 3.984 kB / 0.7269 GB, free: 10.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3949, allocations: 7.938 kB / 0.7269 GB, free: 10.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.3949, allocations: 0 / 0.7269 GB, free: 10.46 MB / 0.545 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.000382/0.3953, allocations: 355.5 kB / 0.7272 GB, free: 10.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.672e-05/0.3953, allocations: 8.031 kB / 0.7272 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003885/0.3957, allocations: 32.81 kB / 0.7273 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.456e-05/0.3958, allocations: 172.3 kB / 0.7274 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.3958, allocations: 4.375 kB / 0.7274 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.3958, allocations: 384 / 0.7274 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.396, allocations: 62.2 kB / 0.7275 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.396, allocations: 192 / 0.7275 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3961, allocations: 3.938 kB / 0.7275 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3961, allocations: 4 kB / 0.7275 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.3963, allocations: 63.86 kB / 0.7276 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.3967, allocations: 276.7 kB / 0.7278 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.3969, allocations: 66.47 kB / 0.7279 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.3971, allocations: 28.89 kB / 0.7279 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3971, allocations: 0 / 0.7279 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.3971, allocations: 38.56 kB / 0.7279 GB, free: 9.199 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.3971, allocations: 0 / 0.7279 GB, free: 9.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004574/0.3976, allocations: 113.5 kB / 0.7281 GB, free: 9.082 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.3976, allocations: 51.41 kB / 0.7281 GB, free: 9.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.722e-05/0.3977, allocations: 105.8 kB / 0.7282 GB, free: 8.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.3977, allocations: 25.7 kB / 0.7282 GB, free: 8.875 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.3978, allocations: 84.17 kB / 0.7283 GB, free: 8.789 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.3978, allocations: 4 kB / 0.7283 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.3978, allocations: 21.7 kB / 0.7283 GB, free: 8.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.3979, allocations: 310.8 kB / 0.7286 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.398, allocations: 27.97 kB / 0.7287 GB, free: 8.418 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3982, allocations: 27.91 kB / 0.7287 GB, free: 8.391 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.3984, allocations: 60.81 kB / 0.7287 GB, free: 8.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3984, allocations: 0 / 0.7287 GB, free: 8.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002854/0.3987, allocations: 101.5 kB / 0.7288 GB, free: 8.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.3987, allocations: 4 kB / 0.7288 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3987, allocations: 3.984 kB / 0.7288 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.567e-06/0.3987, allocations: 4 kB / 0.7289 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3989, allocations: 11.98 kB / 0.7289 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.3989, allocations: 0 / 0.7289 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.37e-05/0.399, allocations: 7.984 kB / 0.7289 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.399, allocations: 0 / 0.7289 GB, free: 8.191 MB / 0.545 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 6.094e-05/0.399, allocations: 125.7 kB / 0.729 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.3991, allocations: 0 / 0.729 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.3991, allocations: 7.125 kB / 0.729 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3991, allocations: 4 kB / 0.729 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3991, allocations: 0 / 0.729 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.3991, allocations: 3.938 kB / 0.729 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.3993, allocations: 165.6 kB / 0.7292 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3993, allocations: 4 kB / 0.7292 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.3994, allocations: 19.91 kB / 0.7292 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3994, allocations: 0 / 0.7292 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3994, allocations: 4 kB / 0.7292 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3994, allocations: 0 / 0.7292 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3994, allocations: 4 kB / 0.7292 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.3997, allocations: 187.4 kB / 0.7294 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.3998, allocations: 81.02 kB / 0.7294 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3998, allocations: 4 kB / 0.7295 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3999, allocations: 7.984 kB / 0.7295 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.4, allocations: 4 kB / 0.7295 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.4, allocations: 4 kB / 0.7295 GB, free: 7.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.063e-05/0.4, allocations: 83.3 kB / 0.7295 GB, free: 7.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4, allocations: 0 / 0.7295 GB, free: 7.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000213/0.4002, allocations: 12 kB / 0.7296 GB, free: 7.395 MB / 0.545 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.0001286/0.4004, allocations: 111.2 kB / 0.7297 GB, free: 7.273 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.4006, allocations: 71.81 kB / 0.7297 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4007, allocations: 0 / 0.7297 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.4008, allocations: 27.97 kB / 0.7298 GB, free: 7.176 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.401, allocations: 4.688 kB / 0.7298 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.4014, allocations: 138.7 kB / 0.7299 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.4016, allocations: 0.6729 MB / 0.7306 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.144e-05/0.4017, allocations: 15.92 kB / 0.7306 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.4017, allocations: 15.38 kB / 0.7306 GB, free: 6.277 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.4017, allocations: 0 / 0.7306 GB, free: 6.277 MB / 0.545 GB Notification: Performance of Templates: time 0.002444/0.4041, allocations: 0.7898 MB / 0.7314 GB, free: 5.5 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)