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.001162/0.001163, allocations: 99.86 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.0009201/0.0009202, 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.718/1.718, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.809/1.809, allocations: 251.9 MB / 0.51 GB, free: 4.871 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.0006528/0.0006531, allocations: 19.12 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6095/0.6102, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001411/0.6116, allocations: 0.9728 MB / 0.7289 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000512/0.6122, allocations: 272.7 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.6122, allocations: 0 / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.6122, allocations: 0 / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.6123, allocations: 7.984 kB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.6125, allocations: 39.94 kB / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.433e-05/0.6126, allocations: 11.98 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.6126, allocations: 3.984 kB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.088e-05/0.6126, allocations: 11.92 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.6127, allocations: 8 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.6127, allocations: 0 / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.6128, allocations: 59.89 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.063e-06/0.6129, allocations: 0 / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.6129, allocations: 29.64 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.888e-05/0.613, allocations: 45.92 kB / 0.7294 GB, free: 9.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.613, allocations: 0 / 0.7294 GB, free: 9.977 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.613, allocations: 0 / 0.7294 GB, free: 9.977 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.613, allocations: 0 / 0.7294 GB, free: 9.977 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.0003326/0.6134, allocations: 331.4 kB / 0.7297 GB, free: 9.605 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.6134, allocations: 8.031 kB / 0.7297 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.6136, allocations: 23.97 kB / 0.7297 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.622e-05/0.6137, allocations: 163 kB / 0.7299 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.6137, allocations: 4 kB / 0.7299 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.6137, allocations: 4 kB / 0.7299 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.803e-05/0.6139, allocations: 41.69 kB / 0.7299 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.6139, allocations: 0 / 0.7299 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.6139, allocations: 4 kB / 0.7299 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.6139, allocations: 0 / 0.7299 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.005e-05/0.6139, allocations: 23.91 kB / 0.73 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.6141, allocations: 161.7 kB / 0.7301 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.6159, allocations: 270.4 kB / 0.7304 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.6159, allocations: 0 / 0.7304 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.616, allocations: 34.56 kB / 0.7304 GB, free: 8.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.616, allocations: 0 / 0.7304 GB, free: 8.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001623/0.6161, allocations: 65.72 kB / 0.7305 GB, free: 8.699 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.6162, allocations: 51.41 kB / 0.7305 GB, free: 8.637 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.6162, allocations: 93.86 kB / 0.7306 GB, free: 8.535 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.6163, allocations: 33.64 kB / 0.7306 GB, free: 8.496 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.6163, allocations: 80.14 kB / 0.7307 GB, free: 8.414 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.6163, allocations: 15.69 kB / 0.7307 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.6163, allocations: 4.125 kB / 0.7307 GB, free: 8.395 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6165, allocations: 322.8 kB / 0.731 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.6165, allocations: 4 kB / 0.7311 GB, free: 8.066 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.6165, allocations: 8 kB / 0.7311 GB, free: 8.059 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.6166, allocations: 8 kB / 0.7311 GB, free: 8.051 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6166, allocations: 3.953 kB / 0.7311 GB, free: 8.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.211e-05/0.6167, allocations: 57.62 kB / 0.7311 GB, free: 7.984 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.6167, allocations: 4 kB / 0.7311 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6167, allocations: 0 / 0.7311 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6167, allocations: 4 kB / 0.7311 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.6168, allocations: 11.98 kB / 0.7311 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.6168, allocations: 0 / 0.7311 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.6168, allocations: 3.906 kB / 0.7311 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.6168, allocations: 0 / 0.7311 GB, free: 7.961 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.981e-05/0.617, allocations: 113.8 kB / 0.7313 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.617, allocations: 3.953 kB / 0.7313 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.617, allocations: 7.5 kB / 0.7313 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.617, allocations: 0 / 0.7313 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.617, allocations: 8 kB / 0.7313 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.617, allocations: 0 / 0.7313 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.6172, allocations: 153.7 kB / 0.7314 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6172, allocations: 0 / 0.7314 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.6172, allocations: 11.94 kB / 0.7314 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6173, allocations: 0 / 0.7314 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.6173, allocations: 4 kB / 0.7314 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6173, allocations: 0 / 0.7314 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6173, allocations: 3.938 kB / 0.7314 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.6174, allocations: 81.12 kB / 0.7315 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.6175, allocations: 77.11 kB / 0.7316 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.6175, allocations: 8.328 kB / 0.7316 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/0.6176, allocations: 3.984 kB / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.6176, allocations: 3.938 kB / 0.7316 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.6176, allocations: 4 kB / 0.7316 GB, free: 7.387 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.6176, allocations: 75.28 kB / 0.7317 GB, free: 7.312 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6176, allocations: 0 / 0.7317 GB, free: 7.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001809/0.6178, allocations: 8 kB / 0.7317 GB, free: 7.305 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 (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 0.0001138/0.618, allocations: 103.3 kB / 0.7318 GB, free: 7.191 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.368e-05/0.618, allocations: 27.91 kB / 0.7318 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6181, allocations: 0 / 0.7318 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.113e-05/0.6181, allocations: 12 kB / 0.7318 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.6183, allocations: 18.67 kB / 0.7318 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.6186, allocations: 140.5 kB / 0.732 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.6189, allocations: 0.677 MB / 0.7326 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.253e-05/0.6189, allocations: 11.86 kB / 0.7327 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.619, allocations: 11.38 kB / 0.7327 GB, free: 6.242 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.619, allocations: 0 / 0.7327 GB, free: 6.242 MB / 0.545 GB Notification: Performance of Templates: time 0.00224/0.6212, allocations: 484.6 kB / 0.7331 GB, free: 5.773 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: