Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_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.0008232/0.0008232, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0008646/0.0008646, allocations: 194.1 kB / 16.25 MB, free: 6.621 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.189/1.189, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.33/1.33, allocations: 251.6 MB / 0.5089 GB, free: 3.297 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.91 kB / 0.6217 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3945, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002054/0.3966, allocations: 1.33 MB / 0.7253 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004599/0.3971, allocations: 301.9 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.69e-05/0.3971, allocations: 0 / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.3971, allocations: 0 / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.545e-05/0.3972, allocations: 0 / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.3974, allocations: 47.75 kB / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.513e-05/0.3975, allocations: 23.86 kB / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.3975, allocations: 0 / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.3976, allocations: 8 kB / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.3976, allocations: 11.98 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.3976, allocations: 0 / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3977, allocations: 55.95 kB / 0.7257 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.3977, allocations: 7.938 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.3978, allocations: 7.984 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.3979, allocations: 45.88 kB / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3979, allocations: 0 / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3979, allocations: 0 / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3979, allocations: 3.984 kB / 0.7258 GB, free: 11.24 MB / 0.545 GB 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.0002958/0.3982, allocations: 339.5 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.3982, allocations: 8.031 kB / 0.7261 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.3984, allocations: 16.92 kB / 0.7261 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.234e-05/0.3985, allocations: 160.4 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.3985, allocations: 384 / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3986, allocations: 4.375 kB / 0.7263 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.083e-05/0.3986, allocations: 50.17 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.3987, allocations: 192 / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3987, allocations: 3.938 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3987, allocations: 4 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/0.3987, allocations: 15.94 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.3989, allocations: 161.7 kB / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.4005, allocations: 266.5 kB / 0.7268 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.4006, allocations: 28.78 kB / 0.7268 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.4006, allocations: 0 / 0.7268 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.4006, allocations: 30.56 kB / 0.7268 GB, free: 10.01 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.4006, allocations: 4 kB / 0.7268 GB, free: 10 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001402/0.4008, allocations: 65.53 kB / 0.7269 GB, free: 9.934 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.4008, allocations: 59.41 kB / 0.7269 GB, free: 9.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.829e-05/0.4009, allocations: 89.86 kB / 0.727 GB, free: 9.766 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.4009, allocations: 25.7 kB / 0.727 GB, free: 9.734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 1.957e-05/0.4009, allocations: 84.08 kB / 0.7271 GB, free: 9.648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.4009, allocations: 23.81 kB / 0.7272 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.401, allocations: 9.719 kB / 0.7272 GB, free: 9.609 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.401, allocations: 318.8 kB / 0.7275 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.4011, allocations: 7.938 kB / 0.7275 GB, free: 9.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.53e-05/0.4011, allocations: 16.11 kB / 0.7275 GB, free: 9.266 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.4011, allocations: 25.14 kB / 0.7275 GB, free: 9.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4011, allocations: 0 / 0.7275 GB, free: 9.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.424e-05/0.4012, allocations: 57.67 kB / 0.7276 GB, free: 9.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.4012, allocations: 4 kB / 0.7276 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4012, allocations: 3.938 kB / 0.7276 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.405e-06/0.4013, allocations: 0 / 0.7276 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.4013, allocations: 8 kB / 0.7276 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.4013, allocations: 3.938 kB / 0.7276 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.72e-05/0.4014, allocations: 3.906 kB / 0.7276 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.4014, allocations: 4 kB / 0.7276 GB, free: 9.148 MB / 0.545 GB 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.423e-05/0.4014, allocations: 113.8 kB / 0.7277 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.4014, allocations: 3.984 kB / 0.7277 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.4015, allocations: 11.44 kB / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.4015, allocations: 0 / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.4015, allocations: 0 / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.4015, allocations: 0 / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.341e-05/0.4016, allocations: 157.7 kB / 0.7279 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4016, allocations: 0 / 0.7279 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.4016, allocations: 8 kB / 0.7279 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.4016, allocations: 0 / 0.7279 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4016, allocations: 3.938 kB / 0.7279 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4016, allocations: 4 kB / 0.7279 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4016, allocations: 0 / 0.7279 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.791e-05/0.4017, allocations: 81.06 kB / 0.728 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.4018, allocations: 81.09 kB / 0.728 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.4018, allocations: 7.875 kB / 0.728 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.081e-05/0.4019, allocations: 8 kB / 0.7281 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.4019, allocations: 0 / 0.7281 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4019, allocations: 7.938 kB / 0.7281 GB, free: 8.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.559e-05/0.4019, allocations: 79.28 kB / 0.7281 GB, free: 8.492 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4019, allocations: 0 / 0.7281 GB, free: 8.492 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001677/0.4021, allocations: 8 kB / 0.7281 GB, free: 8.484 MB / 0.545 GB 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 9.068e-05/0.4022, allocations: 99.23 kB / 0.7282 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.963e-05/0.4023, allocations: 28.08 kB / 0.7283 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4023, allocations: 4 kB / 0.7283 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.79e-05/0.4023, allocations: 11.94 kB / 0.7283 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.4025, allocations: 15.98 kB / 0.7283 GB, free: 8.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.4028, allocations: 130.5 kB / 0.7284 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.403, allocations: 0.6807 MB / 0.7291 GB, free: 7.457 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.776e-05/0.403, allocations: 7.859 kB / 0.7291 GB, free: 7.449 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.4031, allocations: 7.438 kB / 0.7291 GB, free: 7.441 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4031, allocations: 0 / 0.7291 GB, free: 7.441 MB / 0.545 GB Notification: Performance of Templates: time 0.001956/0.405, allocations: 0.5259 MB / 0.7296 GB, free: 6.922 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)