Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009717/0.0009724, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008563/0.008563, allocations: 169 kB / 16.26 MB, free: 6.652 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.605/1.605, allocations: 205.4 MB / 222.5 MB, free: 5.547 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.6871/0.6871, allocations: 95.64 MB / 366.4 MB, free: 10.23 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.0006035/0.0006035, allocations: 15.94 kB / 447.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4183, allocations: 70.33 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001489/0.4199, allocations: 1.126 MB / 0.5068 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005094/0.4204, allocations: 196.4 kB / 0.5069 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.4204, allocations: 0 / 0.5069 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.4204, allocations: 0 / 0.5069 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.333e-05/0.4205, allocations: 3.938 kB / 0.507 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.4207, allocations: 27.89 kB / 0.507 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.4208, allocations: 23.88 kB / 0.507 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.4209, allocations: 15.98 kB / 0.507 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.421, allocations: 4 kB / 0.507 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.421, allocations: 7.922 kB / 0.507 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.421, allocations: 4 kB / 0.507 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.4211, allocations: 31.97 kB / 0.5071 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.4212, allocations: 0 / 0.5071 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.4212, allocations: 33.62 kB / 0.5071 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.4213, allocations: 37.88 kB / 0.5071 GB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4213, allocations: 0 / 0.5071 GB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.4213, allocations: 0 / 0.5071 GB, free: 14.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.4213, allocations: 4 kB / 0.5071 GB, free: 14.79 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.000424/0.4218, allocations: 343.4 kB / 0.5075 GB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4218, allocations: 15.98 kB / 0.5075 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.422, allocations: 0.9375 kB / 0.5075 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.4221, allocations: 172.3 kB / 0.5076 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.4221, allocations: 384 / 0.5076 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.4221, allocations: 384 / 0.5076 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.4223, allocations: 62.17 kB / 0.5077 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.4223, allocations: 4.125 kB / 0.5077 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4223, allocations: 3.938 kB / 0.5077 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.4223, allocations: 4 kB / 0.5077 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.4225, allocations: 43.97 kB / 0.5078 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.4228, allocations: 253 kB / 0.508 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.423, allocations: 42.5 kB / 0.508 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.818e-05/0.4231, allocations: 36.89 kB / 0.5081 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.4231, allocations: 0 / 0.5081 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.4231, allocations: 34.5 kB / 0.5081 GB, free: 13.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.4231, allocations: 0 / 0.5081 GB, free: 13.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003417/0.4235, allocations: 101.6 kB / 0.5082 GB, free: 13.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.4235, allocations: 51.41 kB / 0.5083 GB, free: 13.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.602e-05/0.4236, allocations: 97.86 kB / 0.5083 GB, free: 13.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.4236, allocations: 29.83 kB / 0.5084 GB, free: 13.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.4236, allocations: 80.14 kB / 0.5084 GB, free: 13.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.4236, allocations: 15.83 kB / 0.5085 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.4237, allocations: 9.719 kB / 0.5085 GB, free: 13.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.4237, allocations: 314.8 kB / 0.5088 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.737e-05/0.4238, allocations: 19.98 kB / 0.5088 GB, free: 12.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.4239, allocations: 27.92 kB / 0.5088 GB, free: 12.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.424, allocations: 48.81 kB / 0.5089 GB, free: 12.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.424, allocations: 64 / 0.5089 GB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001772/0.4242, allocations: 89.53 kB / 0.509 GB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4243, allocations: 6.188 kB / 0.509 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4243, allocations: 0 / 0.509 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4243, allocations: 0 / 0.509 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.4244, allocations: 12.03 kB / 0.509 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4244, allocations: 7.969 kB / 0.509 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.4244, allocations: 8 kB / 0.509 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.4244, allocations: 0 / 0.509 GB, free: 12.67 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 (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.37e-05/0.4245, allocations: 121.7 kB / 0.5091 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.4245, allocations: 3.906 kB / 0.5091 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.4248, allocations: 96.89 kB / 0.5092 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4248, allocations: 0 / 0.5092 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4248, allocations: 0 / 0.5092 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4248, allocations: 4 kB / 0.5092 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.4249, allocations: 161.6 kB / 0.5094 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4249, allocations: 0 / 0.5094 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.425, allocations: 15.98 kB / 0.5094 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.425, allocations: 4 kB / 0.5094 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.425, allocations: 0 / 0.5094 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.425, allocations: 7.938 kB / 0.5094 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.425, allocations: 0 / 0.5094 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.4252, allocations: 183.4 kB / 0.5096 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.4253, allocations: 77.11 kB / 0.5096 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.4253, allocations: 0 / 0.5096 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.4254, allocations: 11.98 kB / 0.5096 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.4254, allocations: 4 kB / 0.5096 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.4254, allocations: 0 / 0.5096 GB, free: 11.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.189e-05/0.4254, allocations: 87.27 kB / 0.5097 GB, free: 11.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4254, allocations: 0 / 0.5097 GB, free: 11.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.4257, allocations: 8 kB / 0.5097 GB, free: 11.8 MB / 382.1 MB 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 8.639e-05/0.4258, allocations: 97.22 kB / 0.5098 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.426, allocations: 59.89 kB / 0.5099 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.426, allocations: 0 / 0.5099 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.4261, allocations: 19.98 kB / 0.5099 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.4263, allocations: 11.94 kB / 0.5099 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.4266, allocations: 136.5 kB / 0.51 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.4268, allocations: 0.677 MB / 0.5107 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.846e-05/0.4268, allocations: 0 / 0.5107 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.4268, allocations: 11.42 kB / 0.5107 GB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4269, allocations: 0 / 0.5107 GB, free: 10.73 MB / 382.1 MB Notification: Performance of Templates: time 0.002344/0.4292, allocations: 420.3 kB / 0.5111 GB, free: 10.32 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: