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.00171/0.00171, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001805/0.001805, allocations: 192.6 kB / 16.13 MB, free: 6.605 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.562/1.562, allocations: 205.1 MB / 222 MB, free: 4.75 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.6659/0.6659, allocations: 95.48 MB / 364.8 MB, free: 10.12 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.002052/0.002052, allocations: 63.91 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4277, allocations: 69.08 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002602/0.4303, allocations: 1.461 MB / 0.5031 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004997/0.4308, allocations: 204.3 kB / 0.5033 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.4309, allocations: 0 / 0.5033 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.431, allocations: 0 / 0.5033 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.431, allocations: 11.92 kB / 0.5033 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.4312, allocations: 19.98 kB / 0.5033 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.618e-05/0.4313, allocations: 27.86 kB / 0.5034 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.4314, allocations: 0 / 0.5034 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.4315, allocations: 15.97 kB / 0.5034 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.4315, allocations: 7.938 kB / 0.5034 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.4315, allocations: 4 kB / 0.5034 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-05/0.4316, allocations: 27.97 kB / 0.5034 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.4316, allocations: 8 kB / 0.5034 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.4317, allocations: 7.938 kB / 0.5034 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.4318, allocations: 45.84 kB / 0.5035 GB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4318, allocations: 0 / 0.5035 GB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4318, allocations: 0 / 0.5035 GB, free: 15.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.4318, allocations: 0 / 0.5035 GB, free: 15.77 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.0004556/0.4323, allocations: 343.4 kB / 0.5038 GB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4323, allocations: 11.98 kB / 0.5038 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.4325, allocations: 4.938 kB / 0.5038 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.4326, allocations: 168.3 kB / 0.504 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4326, allocations: 384 / 0.504 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.4326, allocations: 384 / 0.504 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.4328, allocations: 54.22 kB / 0.504 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4328, allocations: 192 / 0.504 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.4328, allocations: 7.875 kB / 0.5041 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4328, allocations: 4 kB / 0.5041 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.433, allocations: 31.95 kB / 0.5041 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.4334, allocations: 244.9 kB / 0.5043 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.4335, allocations: 50.53 kB / 0.5044 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.4336, allocations: 20.91 kB / 0.5044 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.4337, allocations: 0 / 0.5044 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.4337, allocations: 38.5 kB / 0.5044 GB, free: 14.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.4337, allocations: 0 / 0.5044 GB, free: 14.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003531/0.434, allocations: 81.64 kB / 0.5045 GB, free: 14.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.4341, allocations: 51.41 kB / 0.5046 GB, free: 14.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.4342, allocations: 109.8 kB / 0.5047 GB, free: 14.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.4342, allocations: 29.77 kB / 0.5047 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.4342, allocations: 84.14 kB / 0.5048 GB, free: 14.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.4343, allocations: 7.844 kB / 0.5048 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.4343, allocations: 17.72 kB / 0.5048 GB, free: 14.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.4344, allocations: 314.8 kB / 0.5051 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.4345, allocations: 11.98 kB / 0.5051 GB, free: 13.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.4345, allocations: 23.92 kB / 0.5051 GB, free: 13.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.4347, allocations: 40.88 kB / 0.5052 GB, free: 13.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4347, allocations: 0 / 0.5052 GB, free: 13.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001718/0.4349, allocations: 65.61 kB / 0.5052 GB, free: 13.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4349, allocations: 4 kB / 0.5052 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4349, allocations: 4 kB / 0.5052 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4349, allocations: 0 / 0.5052 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.435, allocations: 12.02 kB / 0.5052 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.435, allocations: 0 / 0.5052 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-05/0.4351, allocations: 11.89 kB / 0.5053 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.4351, allocations: 0 / 0.5053 GB, free: 13.73 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 4.408e-05/0.4352, allocations: 117.8 kB / 0.5054 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.4352, allocations: 3.938 kB / 0.5054 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.4354, allocations: 84.72 kB / 0.5055 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4354, allocations: 0 / 0.5055 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4354, allocations: 0 / 0.5055 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4354, allocations: 4 kB / 0.5055 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.4356, allocations: 161.6 kB / 0.5056 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4356, allocations: 4 kB / 0.5056 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.4356, allocations: 8 kB / 0.5056 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4357, allocations: 0 / 0.5056 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.4357, allocations: 0 / 0.5056 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4357, allocations: 4 kB / 0.5056 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4357, allocations: 3.984 kB / 0.5056 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.4359, allocations: 171.6 kB / 0.5058 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.402e-05/0.4359, allocations: 77.11 kB / 0.5059 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.4359, allocations: 48 / 0.5059 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.436, allocations: 15.97 kB / 0.5059 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.4361, allocations: 8 kB / 0.5059 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.4361, allocations: 3.938 kB / 0.5059 GB, free: 12.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.401e-05/0.4361, allocations: 79.28 kB / 0.506 GB, free: 12.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4361, allocations: 0 / 0.506 GB, free: 12.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002096/0.4363, allocations: 7.906 kB / 0.506 GB, free: 12.89 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 7.901e-05/0.4364, allocations: 99.23 kB / 0.5061 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.4366, allocations: 39.97 kB / 0.5061 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4366, allocations: 7.938 kB / 0.5061 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.4367, allocations: 23.91 kB / 0.5061 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.437, allocations: 11.88 kB / 0.5061 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.4373, allocations: 116.4 kB / 0.5063 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.791e-05/0.4374, allocations: 0.677 MB / 0.5069 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.128e-05/0.4374, allocations: 8.062 kB / 0.5069 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.4374, allocations: 7.438 kB / 0.5069 GB, free: 11.84 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4374, allocations: 0 / 0.5069 GB, free: 11.84 MB / 382.1 MB Notification: Performance of Templates: time 0.002097/0.4395, allocations: 424.4 kB / 0.5073 GB, free: 11.43 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (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)