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.00513/0.00513, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001276/0.001276, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.176/1.176, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.241/1.241, allocations: 251.7 MB / 0.5094 GB, free: 428 kB / 430.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.00131/0.00131, allocations: 63.91 kB / 0.7258 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5039, allocations: 104.7 MB / 0.828 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001912/0.5058, allocations: 1.258 MB / 0.8293 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0004987/0.5064, allocations: 289 kB / 0.8295 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.5064, allocations: 4 kB / 0.8295 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.5064, allocations: 3.938 kB / 0.8295 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 3.92e-05/0.5065, allocations: 3.984 kB / 0.8296 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.5067, allocations: 51.75 kB / 0.8296 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 5.539e-05/0.5068, allocations: 15.88 kB / 0.8296 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.5068, allocations: 11.92 kB / 0.8296 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.37e-05/0.5069, allocations: 11.98 kB / 0.8296 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.5069, allocations: 7.938 kB / 0.8296 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.5069, allocations: 0 / 0.8296 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.507, allocations: 59.94 kB / 0.8297 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.5071, allocations: 0 / 0.8297 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.5071, allocations: 8 kB / 0.8297 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.5072, allocations: 55.27 kB / 0.8298 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5072, allocations: 0 / 0.8298 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5072, allocations: 4 kB / 0.8298 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.5072, allocations: 0 / 0.8298 GB, free: 0.8398 MB / 0.6231 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.0003338/0.5076, allocations: 334 kB / 0.8301 GB, free: 476 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.5076, allocations: 8.031 kB / 0.8301 GB, free: 468 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.5078, allocations: 20.91 kB / 0.8301 GB, free: 448 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.5079, allocations: 160.4 kB / 0.8303 GB, free: 248 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.5079, allocations: 4.375 kB / 0.8303 GB, free: 244 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.508, allocations: 384 / 0.8303 GB, free: 244 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.474e-05/0.5081, allocations: 42.25 kB / 0.8303 GB, free: 196 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.5081, allocations: 4.125 kB / 0.8303 GB, free: 192 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.5081, allocations: 11.92 kB / 0.8303 GB, free: 180 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5081, allocations: 4 kB / 0.8303 GB, free: 176 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.456e-05/0.5081, allocations: 15.98 kB / 0.8303 GB, free: 160 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.5083, allocations: 157.7 kB / 0.8305 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.51, allocations: 274.3 kB / 0.8308 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.5101, allocations: 16.86 kB / 0.8308 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.5101, allocations: 0 / 0.8308 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.5101, allocations: 34.56 kB / 0.8308 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.5101, allocations: 3.938 kB / 0.8308 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0001575/0.5103, allocations: 73.52 kB / 0.8309 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.5103, allocations: 51.41 kB / 0.8309 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.891e-05/0.5104, allocations: 93.86 kB / 0.831 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.5104, allocations: 25.7 kB / 0.831 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.5104, allocations: 80.14 kB / 0.8311 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.5105, allocations: 12.03 kB / 0.8311 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.5105, allocations: 13.72 kB / 0.8311 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.5106, allocations: 318.8 kB / 0.8314 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.5106, allocations: 4 kB / 0.8315 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.5106, allocations: 12 kB / 0.8315 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.5107, allocations: 32.78 kB / 0.8315 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5107, allocations: 0 / 0.8315 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.867e-05/0.5108, allocations: 49.61 kB / 0.8315 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.5108, allocations: 8 kB / 0.8316 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.5108, allocations: 11.88 kB / 0.8316 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5108, allocations: 3.984 kB / 0.8316 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.5109, allocations: 4 kB / 0.8316 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5109, allocations: 0 / 0.8316 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.5109, allocations: 4 kB / 0.8316 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.5109, allocations: 4 kB / 0.8316 GB, free: 14.76 MB / 0.6387 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 6.474e-05/0.511, allocations: 106.9 kB / 0.8317 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.511, allocations: 7.938 kB / 0.8317 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.511, allocations: 11.44 kB / 0.8317 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5111, allocations: 4 kB / 0.8317 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5111, allocations: 0 / 0.8317 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5111, allocations: 0 / 0.8317 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.533e-05/0.5112, allocations: 157.7 kB / 0.8319 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5112, allocations: 4.328 kB / 0.8319 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.5112, allocations: 7.984 kB / 0.8319 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5112, allocations: 3.938 kB / 0.8319 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.5112, allocations: 3.938 kB / 0.8319 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5112, allocations: 4 kB / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5113, allocations: 0 / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.273e-05/0.5114, allocations: 89.11 kB / 0.832 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.5114, allocations: 81.02 kB / 0.832 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.5114, allocations: 3.938 kB / 0.832 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.866e-05/0.5115, allocations: 3.984 kB / 0.832 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.5115, allocations: 7.938 kB / 0.8321 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.5115, allocations: 0 / 0.8321 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.886e-05/0.5116, allocations: 79.28 kB / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5116, allocations: 4.094 kB / 0.8321 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001696/0.5117, allocations: 8 kB / 0.8321 GB, free: 14.09 MB / 0.6387 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.47e-05/0.5118, allocations: 95.25 kB / 0.8322 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.28e-05/0.5119, allocations: 27.98 kB / 0.8323 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5119, allocations: 0 / 0.8323 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-05/0.512, allocations: 15.94 kB / 0.8323 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.5122, allocations: 7.984 kB / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.5125, allocations: 132.9 kB / 0.8324 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.5127, allocations: 0.6766 MB / 0.8331 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.661e-05/0.5127, allocations: 11.84 kB / 0.8331 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.5128, allocations: 7.438 kB / 0.8331 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.5128, allocations: 4 kB / 0.8331 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of Templates: time 0.002202/0.515, allocations: 0.5098 MB / 0.8336 GB, free: 12.55 MB / 0.6387 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)