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.001057/0.001057, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001202/0.001202, allocations: 177.3 kB / 15.95 MB, free: 216 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.397/1.397, 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.6058/0.6058, allocations: 95.58 MB / 365.9 MB, free: 10.43 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.0008429/0.0008432, allocations: 16 kB / 446.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3165, allocations: 70.34 MB / 0.505 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001119/0.3177, allocations: 0.9534 MB / 0.5059 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004152/0.3181, allocations: 265.1 kB / 0.5062 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.3181, allocations: 3.938 kB / 0.5062 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.062e-05/0.3182, allocations: 0 / 0.5062 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.71e-05/0.3182, allocations: 0 / 0.5062 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.3184, allocations: 43.86 kB / 0.5062 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.036e-05/0.3185, allocations: 19.97 kB / 0.5063 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.3185, allocations: 0 / 0.5063 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.3186, allocations: 7.938 kB / 0.5063 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.3186, allocations: 7.984 kB / 0.5063 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.3186, allocations: 4 kB / 0.5063 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3187, allocations: 59.94 kB / 0.5063 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-06/0.3187, allocations: 4 kB / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.3188, allocations: 25.7 kB / 0.5064 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.308e-05/0.3189, allocations: 29.94 kB / 0.5064 GB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3189, allocations: 0 / 0.5064 GB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3189, allocations: 3.938 kB / 0.5064 GB, free: 15.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.3189, allocations: 0 / 0.5064 GB, free: 15.1 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.000263/0.3192, allocations: 339.3 kB / 0.5067 GB, free: 14.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.3192, allocations: 15.98 kB / 0.5067 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.3194, allocations: 15.98 kB / 0.5067 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.057e-05/0.3195, allocations: 163 kB / 0.5069 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3195, allocations: 0 / 0.5069 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.3195, allocations: 3.938 kB / 0.5069 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3196, allocations: 53.62 kB / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3196, allocations: 0 / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3197, allocations: 3.984 kB / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3197, allocations: 8 kB / 0.507 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.324e-05/0.3197, allocations: 12 kB / 0.507 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.3198, allocations: 161.6 kB / 0.5071 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.3215, allocations: 270.5 kB / 0.5074 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.3216, allocations: 4 kB / 0.5074 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.3216, allocations: 30.56 kB / 0.5074 GB, free: 13.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3216, allocations: 0 / 0.5074 GB, free: 13.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001418/0.3217, allocations: 69.67 kB / 0.5075 GB, free: 13.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.3218, allocations: 51.41 kB / 0.5075 GB, free: 13.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.022e-05/0.3218, allocations: 97.84 kB / 0.5076 GB, free: 13.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.3218, allocations: 25.7 kB / 0.5077 GB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.274e-05/0.3219, allocations: 84.14 kB / 0.5077 GB, free: 13.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3219, allocations: 15.75 kB / 0.5078 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.3219, allocations: 0 / 0.5078 GB, free: 13.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.996e-05/0.3219, allocations: 310.8 kB / 0.508 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.322, allocations: 8 kB / 0.5081 GB, free: 13.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/0.322, allocations: 11.98 kB / 0.5081 GB, free: 13.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.228e-05/0.322, allocations: 8.125 kB / 0.5081 GB, free: 13.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.322, allocations: 4 kB / 0.5081 GB, free: 13.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.193e-05/0.3221, allocations: 57.62 kB / 0.5081 GB, free: 13.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3221, allocations: 4 kB / 0.5081 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3221, allocations: 0 / 0.5081 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3221, allocations: 3.953 kB / 0.5081 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.3222, allocations: 8 kB / 0.5081 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3222, allocations: 0 / 0.5081 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.3222, allocations: 4 kB / 0.5082 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.3222, allocations: 0 / 0.5082 GB, free: 13.08 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 4.762e-05/0.3223, allocations: 117.8 kB / 0.5083 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/0.3223, allocations: 3.906 kB / 0.5083 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.3223, allocations: 7.5 kB / 0.5083 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3224, allocations: 7.891 kB / 0.5083 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3224, allocations: 0 / 0.5083 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3224, allocations: 0 / 0.5083 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.075e-05/0.3224, allocations: 157.7 kB / 0.5084 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3224, allocations: 0 / 0.5084 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.3225, allocations: 4 kB / 0.5084 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3225, allocations: 4.266 kB / 0.5084 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.3225, allocations: 4 kB / 0.5084 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3225, allocations: 4 kB / 0.5084 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3225, allocations: 3.953 kB / 0.5085 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.753e-05/0.3226, allocations: 89.05 kB / 0.5085 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.3227, allocations: 81.09 kB / 0.5086 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.3227, allocations: 0 / 0.5086 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.132e-05/0.3227, allocations: 4 kB / 0.5086 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.3228, allocations: 0 / 0.5086 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3228, allocations: 11.95 kB / 0.5086 GB, free: 12.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.703e-05/0.3228, allocations: 79.28 kB / 0.5087 GB, free: 12.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3228, allocations: 0 / 0.5087 GB, free: 12.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001763/0.323, allocations: 4 kB / 0.5087 GB, free: 12.41 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 7.123e-05/0.3231, allocations: 99.23 kB / 0.5088 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.531e-05/0.3231, allocations: 27.94 kB / 0.5088 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3232, allocations: 0 / 0.5088 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.819e-05/0.3232, allocations: 20.08 kB / 0.5089 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.3234, allocations: 11.92 kB / 0.5089 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.3236, allocations: 136.5 kB / 0.509 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.3238, allocations: 0.677 MB / 0.5097 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.637e-05/0.3238, allocations: 7.984 kB / 0.5097 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.3238, allocations: 11.44 kB / 0.5097 GB, free: 11.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3238, allocations: 0 / 0.5097 GB, free: 11.36 MB / 382.1 MB Notification: Performance of Templates: time 0.002143/0.326, allocations: 467 kB / 0.5101 GB, free: 10.91 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: