Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1869/0.189, allocations: 80.84 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002271/0.1913, allocations: 1.249 MB / 0.6719 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006002/0.1919, allocations: 295.4 kB / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.1919, allocations: 0 / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.192, allocations: 4 kB / 0.6721 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.192, allocations: 3.938 kB / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1923, allocations: 51.73 kB / 0.6722 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.305e-05/0.1924, allocations: 19.94 kB / 0.6722 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.1925, allocations: 3.984 kB / 0.6722 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.1925, allocations: 7.938 kB / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.1926, allocations: 4 kB / 0.6722 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1926, allocations: 0 / 0.6722 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1927, allocations: 55.95 kB / 0.6723 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.1927, allocations: 11.97 kB / 0.6723 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.1928, allocations: 11.94 kB / 0.6723 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1929, allocations: 55.77 kB / 0.6724 GB, free: 252 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1929, allocations: 0 / 0.6724 GB, free: 252 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.255e-06/0.1929, allocations: 0 / 0.6724 GB, free: 252 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.193, allocations: 0 / 0.6724 GB, free: 252 kB / 0.4981 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.0004493/0.1934, allocations: 339.5 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1935, allocations: 8.031 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.1937, allocations: 24.91 kB / 0.6727 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1938, allocations: 160.4 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1939, allocations: 384 / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.1939, allocations: 8.375 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.194, allocations: 38.25 kB / 0.6729 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.194, allocations: 4.188 kB / 0.6729 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.194, allocations: 3.938 kB / 0.6729 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.194, allocations: 0 / 0.6729 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.1941, allocations: 19.92 kB / 0.6729 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.1943, allocations: 165.6 kB / 0.6731 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.1962, allocations: 266.4 kB / 0.6733 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.1963, allocations: 20.86 kB / 0.6734 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1963, allocations: 0 / 0.6734 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1964, allocations: 30.56 kB / 0.6734 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 2.805e-06/0.1964, allocations: 3.984 kB / 0.6734 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0001771/0.1965, allocations: 69.56 kB / 0.6735 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1966, allocations: 59.39 kB / 0.6735 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.1967, allocations: 89.86 kB / 0.6736 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1967, allocations: 33.83 kB / 0.6736 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.1967, allocations: 80.14 kB / 0.6737 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.1968, allocations: 11.84 kB / 0.6737 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.1968, allocations: 17.62 kB / 0.6737 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1969, allocations: 318.8 kB / 0.674 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.197, allocations: 8 kB / 0.6741 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.524e-05/0.197, allocations: 7.938 kB / 0.6741 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.091e-05/0.197, allocations: 28.86 kB / 0.6741 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1971, allocations: 4 kB / 0.6741 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.242e-05/0.1971, allocations: 57.62 kB / 0.6742 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1972, allocations: 4 kB / 0.6742 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1972, allocations: 3.938 kB / 0.6742 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1972, allocations: 0 / 0.6742 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.954e-05/0.1973, allocations: 11.98 kB / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1973, allocations: 0 / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.1973, allocations: 0 / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.1973, allocations: 0 / 0.6742 GB, free: 14.16 MB / 0.5137 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.712e-05/0.1974, allocations: 117.8 kB / 0.6743 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.1974, allocations: 0 / 0.6743 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.1975, allocations: 11.44 kB / 0.6743 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1975, allocations: 0 / 0.6743 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1975, allocations: 0 / 0.6743 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1975, allocations: 3.938 kB / 0.6743 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.1976, allocations: 157.7 kB / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1976, allocations: 0 / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/0.1977, allocations: 15.92 kB / 0.6745 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1977, allocations: 0 / 0.6745 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1977, allocations: 3.938 kB / 0.6745 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1977, allocations: 8 kB / 0.6745 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1977, allocations: 0 / 0.6745 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.1978, allocations: 73.12 kB / 0.6745 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.1979, allocations: 81.02 kB / 0.6746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1979, allocations: 3.938 kB / 0.6746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.198, allocations: 11.98 kB / 0.6746 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.198, allocations: 0 / 0.6746 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.198, allocations: 4 kB / 0.6746 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.1981, allocations: 83.28 kB / 0.6747 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1981, allocations: 0 / 0.6747 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000192/0.1983, allocations: 4 kB / 0.6747 GB, free: 13.49 MB / 0.5137 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.000124/0.1984, allocations: 99.19 kB / 0.6748 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1985, allocations: 32.3 kB / 0.6748 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1985, allocations: 0 / 0.6748 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.249e-05/0.1985, allocations: 12 kB / 0.6749 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.1988, allocations: 16.06 kB / 0.6749 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.1991, allocations: 134.7 kB / 0.675 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1994, allocations: 0.6729 MB / 0.6757 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.1994, allocations: 11.97 kB / 0.6757 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.1995, allocations: 7.438 kB / 0.6757 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1995, allocations: 0 / 0.6757 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of Templates: time 0.002531/0.202, allocations: 0.5302 MB / 0.6762 GB, free: 11.92 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)