Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009542/0.0009541, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006739/0.006739, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.782/1.782, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.6032/0.6032, allocations: 95.62 MB / 366.4 MB, free: 10.3 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.0009321/0.0009322, allocations: 20.52 kB / 447.5 MB, free: 9.031 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4307, allocations: 70.34 MB / 0.5057 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001478/0.4323, allocations: 0.9751 MB / 0.5066 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006999/0.433, allocations: 291.2 kB / 0.5069 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.433, allocations: 0 / 0.5069 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.4331, allocations: 3.984 kB / 0.5069 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.4331, allocations: 7.922 kB / 0.5069 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.4334, allocations: 39.83 kB / 0.507 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.342e-05/0.4335, allocations: 11.94 kB / 0.507 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.077e-05/0.4336, allocations: 4 kB / 0.507 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.783e-05/0.4336, allocations: 15.97 kB / 0.507 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.493e-05/0.4337, allocations: 7.938 kB / 0.507 GB, free: 15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.4337, allocations: 4 kB / 0.507 GB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.4339, allocations: 55.95 kB / 0.507 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.4339, allocations: 0 / 0.507 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.4339, allocations: 37.62 kB / 0.5071 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.4341, allocations: 45.92 kB / 0.5071 GB, free: 14.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4341, allocations: 0 / 0.5071 GB, free: 14.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.4341, allocations: 0 / 0.5071 GB, free: 14.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.4341, allocations: 0 / 0.5071 GB, free: 14.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003786/0.4345, allocations: 335.5 kB / 0.5074 GB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.4346, allocations: 15.98 kB / 0.5075 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.4348, allocations: 16.92 kB / 0.5075 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.317e-05/0.4349, allocations: 172.3 kB / 0.5076 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.435, allocations: 4.312 kB / 0.5076 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.435, allocations: 384 / 0.5076 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.4351, allocations: 42.25 kB / 0.5077 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.4351, allocations: 4.125 kB / 0.5077 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4351, allocations: 3.938 kB / 0.5077 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4351, allocations: 8 kB / 0.5077 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.4352, allocations: 12 kB / 0.5077 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.4353, allocations: 153.7 kB / 0.5079 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.437, allocations: 278.4 kB / 0.5081 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.4371, allocations: 20.84 kB / 0.5081 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.4371, allocations: 0 / 0.5081 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.4371, allocations: 34.56 kB / 0.5082 GB, free: 13.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.4371, allocations: 0 / 0.5082 GB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001502/0.4373, allocations: 65.56 kB / 0.5082 GB, free: 13.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.4373, allocations: 55.41 kB / 0.5083 GB, free: 13.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.263e-05/0.4374, allocations: 97.86 kB / 0.5084 GB, free: 13.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.4374, allocations: 25.7 kB / 0.5084 GB, free: 13.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.427e-05/0.4374, allocations: 80.14 kB / 0.5085 GB, free: 13.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.4374, allocations: 15.73 kB / 0.5085 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.4375, allocations: 17.72 kB / 0.5085 GB, free: 13.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.4375, allocations: 310.8 kB / 0.5088 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.4375, allocations: 8 kB / 0.5088 GB, free: 12.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.591e-05/0.4376, allocations: 12.3 kB / 0.5088 GB, free: 12.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.4376, allocations: 28.94 kB / 0.5089 GB, free: 12.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4376, allocations: 0 / 0.5089 GB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.427e-05/0.4377, allocations: 57.62 kB / 0.5089 GB, free: 12.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4377, allocations: 4 kB / 0.5089 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4377, allocations: 3.938 kB / 0.5089 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4377, allocations: 0 / 0.5089 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.4378, allocations: 12 kB / 0.5089 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4378, allocations: 0 / 0.5089 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.4378, allocations: 4 kB / 0.5089 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.4379, allocations: 4 kB / 0.5089 GB, free: 12.77 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 (4): * Single equations (assignments): 4 * 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.357e-05/0.4379, allocations: 113.8 kB / 0.5091 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-06/0.4379, allocations: 3.906 kB / 0.5091 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.438, allocations: 11.44 kB / 0.5091 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.438, allocations: 0 / 0.5091 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.438, allocations: 7.938 kB / 0.5091 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.438, allocations: 0 / 0.5091 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.436e-05/0.4381, allocations: 153.7 kB / 0.5092 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4381, allocations: 0 / 0.5092 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.863e-05/0.4381, allocations: 8 kB / 0.5092 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.4381, allocations: 3.938 kB / 0.5092 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.4381, allocations: 7.938 kB / 0.5092 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.4381, allocations: 0 / 0.5092 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4382, allocations: 0 / 0.5092 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.936e-05/0.4382, allocations: 81.06 kB / 0.5093 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.4383, allocations: 81.09 kB / 0.5094 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.4383, allocations: 7.938 kB / 0.5094 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.4384, allocations: 4 kB / 0.5094 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.4384, allocations: 4 kB / 0.5094 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.4384, allocations: 4 kB / 0.5094 GB, free: 12.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.65e-05/0.4384, allocations: 79.27 kB / 0.5095 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4384, allocations: 0 / 0.5095 GB, free: 12.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001716/0.4386, allocations: 4 kB / 0.5095 GB, free: 12.1 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 (4): * Single equations (assignments): 4 * 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.302e-05/0.4387, allocations: 95.25 kB / 0.5096 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.4388, allocations: 36.02 kB / 0.5096 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4388, allocations: 0 / 0.5096 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.4388, allocations: 12 kB / 0.5096 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.4391, allocations: 17.95 kB / 0.5096 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.4394, allocations: 132.5 kB / 0.5098 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.4396, allocations: 0.6848 MB / 0.5104 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.865e-05/0.4396, allocations: 4 kB / 0.5104 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.4397, allocations: 7.438 kB / 0.5105 GB, free: 11.06 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4397, allocations: 3.938 kB / 0.5105 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Templates: time 0.002308/0.442, allocations: 0.4897 MB / 0.5109 GB, free: 10.57 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: