Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 108 kB / 15.6 MB, free: 132 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.001186/0.001187, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.186/1.186, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.364/1.364, allocations: 251.7 MB / 0.5092 GB, free: 3.117 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.001409/0.001409, allocations: 67.91 kB / 0.6223 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3829, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002315/0.3853, allocations: 1.414 MB / 0.7259 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003697/0.3856, allocations: 204.3 kB / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.3857, allocations: 0 / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.3857, allocations: 0 / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.952e-05/0.3857, allocations: 11.92 kB / 0.7261 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.3859, allocations: 23.91 kB / 0.7261 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.386, allocations: 27.92 kB / 0.7261 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.86e-05/0.3861, allocations: 4 kB / 0.7261 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.3861, allocations: 11.92 kB / 0.7262 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.451e-05/0.3862, allocations: 15.92 kB / 0.7262 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.3862, allocations: 4 kB / 0.7262 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.672e-05/0.3863, allocations: 23.98 kB / 0.7262 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.3863, allocations: 7.922 kB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.3863, allocations: 8 kB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.3864, allocations: 41.86 kB / 0.7263 GB, free: 11.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3864, allocations: 4 kB / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3864, allocations: 0 / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.3864, allocations: 0 / 0.7263 GB, free: 11.11 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.0003718/0.3868, allocations: 339.5 kB / 0.7266 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.3869, allocations: 8.031 kB / 0.7266 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.387, allocations: 12.83 kB / 0.7266 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.3871, allocations: 160.4 kB / 0.7268 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3871, allocations: 384 / 0.7268 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.3871, allocations: 8.312 kB / 0.7268 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3873, allocations: 54.23 kB / 0.7268 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3873, allocations: 192 / 0.7268 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3873, allocations: 11.86 kB / 0.7268 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3873, allocations: 0 / 0.7268 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.3875, allocations: 39.89 kB / 0.7269 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.3878, allocations: 245 kB / 0.7271 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3879, allocations: 38.5 kB / 0.7271 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.932e-05/0.388, allocations: 24.89 kB / 0.7272 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.388, allocations: 0 / 0.7272 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.3881, allocations: 34.56 kB / 0.7272 GB, free: 9.992 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/0.3881, allocations: 4 kB / 0.7272 GB, free: 9.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003146/0.3884, allocations: 81.58 kB / 0.7273 GB, free: 9.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.3884, allocations: 55.41 kB / 0.7273 GB, free: 9.836 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.3885, allocations: 93.86 kB / 0.7274 GB, free: 9.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.3885, allocations: 25.7 kB / 0.7274 GB, free: 9.703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.3886, allocations: 92.03 kB / 0.7275 GB, free: 9.609 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3886, allocations: 8.062 kB / 0.7275 GB, free: 9.602 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.3886, allocations: 13.72 kB / 0.7275 GB, free: 9.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3887, allocations: 314.8 kB / 0.7278 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.3888, allocations: 15.98 kB / 0.7279 GB, free: 9.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.3889, allocations: 19.97 kB / 0.7279 GB, free: 9.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.3891, allocations: 44.83 kB / 0.7279 GB, free: 9.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3891, allocations: 0 / 0.7279 GB, free: 9.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001834/0.3893, allocations: 69.5 kB / 0.728 GB, free: 9.109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3893, allocations: 8 kB / 0.728 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3893, allocations: 0 / 0.728 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3893, allocations: 0 / 0.728 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.3894, allocations: 7.984 kB / 0.728 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3894, allocations: 4 kB / 0.728 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.3894, allocations: 8.031 kB / 0.728 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.3895, allocations: 3.984 kB / 0.728 GB, free: 9.078 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 5.973e-05/0.3895, allocations: 113.8 kB / 0.7281 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.3895, allocations: 4 kB / 0.7281 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.3898, allocations: 72.72 kB / 0.7282 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3898, allocations: 8 kB / 0.7282 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3898, allocations: 7.984 kB / 0.7282 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3898, allocations: 0 / 0.7282 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.3899, allocations: 157.6 kB / 0.7284 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3899, allocations: 3.938 kB / 0.7284 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.39, allocations: 11.98 kB / 0.7284 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.39, allocations: 0 / 0.7284 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.39, allocations: 3.938 kB / 0.7284 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3901, allocations: 0 / 0.7284 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3901, allocations: 4 kB / 0.7284 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.3903, allocations: 171.4 kB / 0.7286 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.3903, allocations: 81.02 kB / 0.7286 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3903, allocations: 3.984 kB / 0.7286 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.3904, allocations: 4 kB / 0.7286 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3904, allocations: 12.27 kB / 0.7287 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.3905, allocations: 0 / 0.7287 GB, free: 8.336 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.3905, allocations: 87.27 kB / 0.7287 GB, free: 8.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.3905, allocations: 0 / 0.7287 GB, free: 8.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001963/0.3907, allocations: 4 kB / 0.7287 GB, free: 8.246 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 (3): * Single equations (assignments): 3 * 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 9.979e-05/0.3908, allocations: 95.25 kB / 0.7288 GB, free: 8.141 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.391, allocations: 43.95 kB / 0.7289 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.391, allocations: 0 / 0.7289 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.3911, allocations: 23.98 kB / 0.7289 GB, free: 8.074 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.3913, allocations: 17.95 kB / 0.7289 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.3916, allocations: 114.6 kB / 0.729 GB, free: 7.918 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.3918, allocations: 0.6768 MB / 0.7297 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.3918, allocations: 8 kB / 0.7297 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.3918, allocations: 7.438 kB / 0.7297 GB, free: 7.199 MB / 0.545 GB Notification: Performance of SimCode: time 1.91e-07/0.3919, allocations: 0 / 0.7297 GB, free: 7.199 MB / 0.545 GB Notification: Performance of Templates: time 0.002153/0.394, allocations: 495.5 kB / 0.7302 GB, free: 6.727 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)