Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.688/1.688, allocations: 287.5 MB / 302.6 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 173.4 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007631/0.0007629, allocations: 86.3 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 19.94 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1923, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001211/0.1936, allocations: 0.986 MB / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004228/0.194, allocations: 275.3 kB / 0.9799 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.194, allocations: 0 / 0.9799 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.1941, allocations: 0 / 0.9799 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.1941, allocations: 7.922 kB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1944, allocations: 47.83 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.388e-05/0.1944, allocations: 15.92 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.1944, allocations: 0 / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.1945, allocations: 4 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.1945, allocations: 19.86 kB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.1945, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1947, allocations: 51.94 kB / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-06/0.1947, allocations: 4 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.1947, allocations: 25.7 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.193e-05/0.1948, allocations: 40.19 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1948, allocations: 4 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1948, allocations: 0 / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.1948, allocations: 0 / 0.9801 GB, free: 26.7 MB / 0.6198 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.0002713/0.1951, allocations: 335.5 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1951, allocations: 8.031 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.1953, allocations: 16.92 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.652e-05/0.1954, allocations: 168.3 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1954, allocations: 8.297 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.1955, allocations: 4.375 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.418e-05/0.1956, allocations: 46.23 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1956, allocations: 192 / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1956, allocations: 3.938 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1956, allocations: 4 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.304e-05/0.1956, allocations: 15.94 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.1958, allocations: 161.7 kB / 0.9808 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.1974, allocations: 274.4 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.1975, allocations: 24.84 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.1975, allocations: 0 / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.1975, allocations: 34.56 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.1975, allocations: 0 / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001432/0.1976, allocations: 65.62 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.1977, allocations: 51.41 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.888e-05/0.1977, allocations: 89.86 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.1977, allocations: 29.7 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.178e-05/0.1978, allocations: 84.08 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.1978, allocations: 19.92 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.1978, allocations: 0 / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.079e-05/0.1978, allocations: 310.8 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.1979, allocations: 12 kB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.409e-05/0.1979, allocations: 4 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.122e-05/0.1979, allocations: 28.84 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1979, allocations: 4 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.479e-05/0.198, allocations: 45.7 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.198, allocations: 11.98 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.198, allocations: 3.938 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1981, allocations: 4 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.1981, allocations: 11.88 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1981, allocations: 0 / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.1982, allocations: 0 / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.1982, allocations: 8.312 kB / 0.9819 GB, free: 24.63 MB / 0.6198 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 4.384e-05/0.1982, allocations: 105.8 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.1982, allocations: 4 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.1983, allocations: 11.44 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1983, allocations: 7.984 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1983, allocations: 3.984 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1983, allocations: 0 / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.59e-05/0.1984, allocations: 161.5 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1984, allocations: 0 / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.1984, allocations: 12 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1984, allocations: 0 / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1984, allocations: 3.938 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1985, allocations: 0 / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1985, allocations: 0 / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.158e-05/0.1985, allocations: 84.97 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.1986, allocations: 85.09 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.1986, allocations: 3.938 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.1987, allocations: 4 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.1987, allocations: 4 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1987, allocations: 4 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.447e-05/0.1987, allocations: 75.28 kB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1987, allocations: 0 / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001618/0.1989, allocations: 12.09 kB / 0.9825 GB, free: 23.96 MB / 0.6198 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 8.566e-05/0.199, allocations: 95.25 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.205e-05/0.1991, allocations: 23.98 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1991, allocations: 0 / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.925e-05/0.1991, allocations: 19.92 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.1993, allocations: 8 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.1996, allocations: 132.6 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.004e-05/0.1997, allocations: 0.677 MB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.131e-05/0.1997, allocations: 8 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.1998, allocations: 11.38 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.1998, allocations: 0 / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.001977/0.2018, allocations: 477 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)