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.0009762/0.0009761, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001163/0.001163, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.6482/0.6482, allocations: 95.63 MB / 366 MB, free: 10.37 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.0006425/0.0006428, allocations: 16 kB / 446.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.461, allocations: 70.34 MB / 0.5051 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00122/0.4623, allocations: 0.9682 MB / 0.506 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004912/0.4628, allocations: 282.3 kB / 0.5063 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.4628, allocations: 0 / 0.5063 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.4628, allocations: 0 / 0.5063 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.4629, allocations: 0 / 0.5063 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.4631, allocations: 51.8 kB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.245e-05/0.4632, allocations: 15.88 kB / 0.5064 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.83e-05/0.4633, allocations: 0 / 0.5064 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.4633, allocations: 8 kB / 0.5064 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.4634, allocations: 11.98 kB / 0.5064 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.4634, allocations: 3.938 kB / 0.5064 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.4635, allocations: 47.95 kB / 0.5064 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.4635, allocations: 4 kB / 0.5064 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.4636, allocations: 29.7 kB / 0.5065 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.4637, allocations: 37.92 kB / 0.5065 GB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.4637, allocations: 0 / 0.5065 GB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4637, allocations: 3.938 kB / 0.5065 GB, free: 15.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.4637, allocations: 0 / 0.5065 GB, free: 15.04 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.0003825/0.4641, allocations: 339.3 kB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4642, allocations: 15.98 kB / 0.5068 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.4644, allocations: 11.98 kB / 0.5068 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.4645, allocations: 167.1 kB / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4645, allocations: 0 / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.4646, allocations: 0 / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.4647, allocations: 49.58 kB / 0.507 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.4647, allocations: 0 / 0.507 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4647, allocations: 8 kB / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4647, allocations: 0 / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.236e-05/0.4648, allocations: 12 kB / 0.5071 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.465, allocations: 157.7 kB / 0.5072 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.4665, allocations: 274.4 kB / 0.5075 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.4666, allocations: 20.84 kB / 0.5075 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.4666, allocations: 0 / 0.5075 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.4666, allocations: 42.45 kB / 0.5075 GB, free: 13.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4667, allocations: 3.938 kB / 0.5075 GB, free: 13.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001714/0.4668, allocations: 61.69 kB / 0.5076 GB, free: 13.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.4669, allocations: 55.41 kB / 0.5077 GB, free: 13.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.4669, allocations: 89.86 kB / 0.5077 GB, free: 13.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.4669, allocations: 25.7 kB / 0.5078 GB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.773e-05/0.467, allocations: 80.14 kB / 0.5078 GB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.467, allocations: 23.73 kB / 0.5079 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.467, allocations: 0 / 0.5079 GB, free: 13.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.4671, allocations: 310.8 kB / 0.5082 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.4671, allocations: 8.125 kB / 0.5082 GB, free: 13.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.509e-05/0.4671, allocations: 15.98 kB / 0.5082 GB, free: 13.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.715e-05/0.4672, allocations: 15.94 kB / 0.5082 GB, free: 13.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4672, allocations: 0 / 0.5082 GB, free: 13.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.535e-05/0.4672, allocations: 57.62 kB / 0.5083 GB, free: 13.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4673, allocations: 5.875 kB / 0.5083 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4673, allocations: 3.953 kB / 0.5083 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4673, allocations: 0 / 0.5083 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.203e-05/0.4674, allocations: 4 kB / 0.5083 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4674, allocations: 4 kB / 0.5083 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.4674, allocations: 0 / 0.5083 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.4674, allocations: 4 kB / 0.5083 GB, free: 12.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/0.4675, allocations: 105.8 kB / 0.5084 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.4675, allocations: 7.906 kB / 0.5084 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.4675, allocations: 11.48 kB / 0.5084 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.4675, allocations: 3.953 kB / 0.5084 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4675, allocations: 0 / 0.5084 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4675, allocations: 3.938 kB / 0.5084 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.814e-05/0.4676, allocations: 161.7 kB / 0.5086 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4676, allocations: 0 / 0.5086 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.4677, allocations: 12 kB / 0.5086 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.4677, allocations: 0 / 0.5086 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.4677, allocations: 0 / 0.5086 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4677, allocations: 0 / 0.5086 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4677, allocations: 7.953 kB / 0.5086 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.186e-05/0.4678, allocations: 77.12 kB / 0.5086 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.4679, allocations: 81.47 kB / 0.5087 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.4679, allocations: 0 / 0.5087 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.4679, allocations: 8 kB / 0.5087 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.468, allocations: 7.953 kB / 0.5087 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.468, allocations: 3.984 kB / 0.5087 GB, free: 12.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.239e-05/0.468, allocations: 75.28 kB / 0.5088 GB, free: 12.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.468, allocations: 3.938 kB / 0.5088 GB, free: 12.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001752/0.4682, allocations: 11.94 kB / 0.5088 GB, free: 12.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.828e-05/0.4683, allocations: 99.23 kB / 0.5089 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.4684, allocations: 28.09 kB / 0.509 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4684, allocations: 0 / 0.509 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.954e-05/0.4684, allocations: 15.98 kB / 0.509 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.4687, allocations: 7.938 kB / 0.509 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.469, allocations: 144.4 kB / 0.5091 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.4691, allocations: 0.6809 MB / 0.5098 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.637e-05/0.4692, allocations: 0 / 0.5098 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.4692, allocations: 7.438 kB / 0.5098 GB, free: 11.28 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4692, allocations: 0 / 0.5098 GB, free: 11.28 MB / 382.1 MB Notification: Performance of Templates: time 0.002359/0.4716, allocations: 476.2 kB / 0.5102 GB, free: 10.82 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: