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.004733/0.004733, allocations: 102 kB / 15.73 MB, free: 6.051 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.001172/0.001172, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.194/1.194, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.346/1.346, allocations: 251.7 MB / 0.5094 GB, free: 3.008 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.00131/0.00131, allocations: 67.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1946, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001975/0.1966, allocations: 1.261 MB / 0.8293 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005305/0.1972, allocations: 299.2 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.1972, allocations: 4 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.1973, allocations: 3.984 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.1973, allocations: 3.938 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.1976, allocations: 43.75 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.1977, allocations: 23.86 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.1978, allocations: 8 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.1978, allocations: 4 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.1979, allocations: 7.984 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.1979, allocations: 0 / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.198, allocations: 55.95 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.198, allocations: 3.938 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.1981, allocations: 11.98 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.1982, allocations: 47.83 kB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1982, allocations: 0 / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1982, allocations: 4 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.1982, allocations: 0 / 0.8298 GB, free: 14.42 MB / 0.6544 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.0005016/0.1987, allocations: 339.5 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1988, allocations: 8.031 kB / 0.8301 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.199, allocations: 20.86 kB / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1991, allocations: 160.4 kB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1992, allocations: 384 / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1992, allocations: 12.3 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1993, allocations: 42.25 kB / 0.8303 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1993, allocations: 4.188 kB / 0.8303 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1994, allocations: 3.938 kB / 0.8303 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1994, allocations: 4 kB / 0.8303 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.612e-05/0.1994, allocations: 12 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.1996, allocations: 153.7 kB / 0.8305 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.2013, allocations: 274.4 kB / 0.8308 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.2014, allocations: 20.84 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.2014, allocations: 0 / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.2014, allocations: 30.56 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.2014, allocations: 0 / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002031/0.2016, allocations: 69.53 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.2017, allocations: 55.41 kB / 0.8309 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.2018, allocations: 93.86 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.2018, allocations: 29.7 kB / 0.831 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.2018, allocations: 84.08 kB / 0.8311 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.2019, allocations: 15.81 kB / 0.8311 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.2019, allocations: 21.66 kB / 0.8312 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.202, allocations: 310.8 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.2021, allocations: 12.12 kB / 0.8315 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.623e-05/0.2021, allocations: 11.98 kB / 0.8315 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/0.2021, allocations: 24.86 kB / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2022, allocations: 0 / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.495e-05/0.2022, allocations: 49.97 kB / 0.8316 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2023, allocations: 8 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2023, allocations: 3.938 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.2023, allocations: 4.031 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.2024, allocations: 11.94 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2024, allocations: 0 / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.2024, allocations: 11.91 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2024, allocations: 0 / 0.8316 GB, free: 12.33 MB / 0.6544 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 8.585e-05/0.2025, allocations: 109.8 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.2025, allocations: 4 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/0.2026, allocations: 11.44 kB / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2026, allocations: 4 kB / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2026, allocations: 0 / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2026, allocations: 0 / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.2027, allocations: 153.7 kB / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2027, allocations: 11.94 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.2028, allocations: 4 kB / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2028, allocations: 0 / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2028, allocations: 7.938 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2028, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2028, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.2029, allocations: 81.06 kB / 0.832 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.203, allocations: 81.09 kB / 0.832 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.203, allocations: 7.938 kB / 0.832 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.114e-05/0.2031, allocations: 0 / 0.832 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.2031, allocations: 8 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.2031, allocations: 3.938 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.476e-05/0.2032, allocations: 75.28 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2032, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001728/0.2034, allocations: 8 kB / 0.8321 GB, free: 11.67 MB / 0.6544 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 0.0001314/0.2035, allocations: 99.33 kB / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.2036, allocations: 31.98 kB / 0.8323 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2036, allocations: 0 / 0.8323 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.17e-05/0.2036, allocations: 15.94 kB / 0.8323 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.2039, allocations: 11.92 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.2042, allocations: 126.6 kB / 0.8324 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2044, allocations: 0.6844 MB / 0.8331 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.2045, allocations: 3.859 kB / 0.8331 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.2045, allocations: 7.438 kB / 0.8331 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.2045, allocations: 4 kB / 0.8331 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.002411/0.207, allocations: 0.5179 MB / 0.8336 GB, free: 10.11 MB / 0.6544 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)