Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [/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.1829/0.1853, allocations: 80.84 MB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003093/0.1884, allocations: 1.663 MB / 0.6723 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.1894, allocations: 491.7 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.699e-05/0.1895, allocations: 0 / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.454e-05/0.1896, allocations: 7.922 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.1897, allocations: 19.81 kB / 0.6727 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.1899, allocations: 35.89 kB / 0.6728 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.19, allocations: 79.72 kB / 0.6729 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1901, allocations: 23.92 kB / 0.6729 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1903, allocations: 47.83 kB / 0.6729 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.1904, allocations: 35.84 kB / 0.673 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1904, allocations: 8 kB / 0.673 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.1904, allocations: 8 kB / 0.673 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.1905, allocations: 11.94 kB / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.1905, allocations: 39.8 kB / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1907, allocations: 83.69 kB / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1907, allocations: 0 / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1907, allocations: 0 / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.1907, allocations: 4 kB / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005715/0.1913, allocations: 387.1 kB / 0.6735 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1913, allocations: 12.03 kB / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.1914, allocations: 12.84 kB / 0.6735 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1915, allocations: 179.3 kB / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1915, allocations: 8.375 kB / 0.6737 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1916, allocations: 8.359 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.1918, allocations: 99.56 kB / 0.6738 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1918, allocations: 4 kB / 0.6738 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1918, allocations: 0 / 0.6738 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1919, allocations: 0 / 0.6738 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.192, allocations: 47.97 kB / 0.6738 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.1926, allocations: 324.6 kB / 0.6741 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.1927, allocations: 50.56 kB / 0.6742 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.394e-05/0.1928, allocations: 36.88 kB / 0.6742 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.1928, allocations: 0 / 0.6742 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1929, allocations: 38.58 kB / 0.6743 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1929, allocations: 0 / 0.6743 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0003552/0.1932, allocations: 101.6 kB / 0.6744 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.1933, allocations: 81.11 kB / 0.6744 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1934, allocations: 126.1 kB / 0.6746 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1934, allocations: 29.7 kB / 0.6746 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.1935, allocations: 104 kB / 0.6747 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.1935, allocations: 3.906 kB / 0.6747 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.1936, allocations: 21.7 kB / 0.6747 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1937, allocations: 326.8 kB / 0.675 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.1938, allocations: 19.98 kB / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.678e-05/0.1939, allocations: 45.62 kB / 0.6751 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.194, allocations: 44.84 kB / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.194, allocations: 0 / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001946/0.1942, allocations: 89.78 kB / 0.6752 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1942, allocations: 8 kB / 0.6752 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1943, allocations: 0 / 0.6752 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1943, allocations: 0 / 0.6752 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1944, allocations: 11.97 kB / 0.6752 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1944, allocations: 4 kB / 0.6752 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.1945, allocations: 11.98 kB / 0.6752 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1945, allocations: 11.88 kB / 0.6753 GB, free: 13.04 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: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001236/0.1946, allocations: 118 kB / 0.6754 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.1947, allocations: 7.906 kB / 0.6754 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.1947, allocations: 12.25 kB / 0.6754 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1947, allocations: 0 / 0.6754 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1947, allocations: 0 / 0.6754 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1947, allocations: 7.984 kB / 0.6754 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1949, allocations: 189.5 kB / 0.6756 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1949, allocations: 0 / 0.6756 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.195, allocations: 11.98 kB / 0.6756 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.195, allocations: 0 / 0.6756 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.195, allocations: 4 kB / 0.6756 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1951, allocations: 4 kB / 0.6756 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1951, allocations: 11.92 kB / 0.6756 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1953, allocations: 175.3 kB / 0.6758 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.1954, allocations: 89 kB / 0.6759 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1954, allocations: 0 / 0.6759 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1955, allocations: 11.98 kB / 0.6759 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.1956, allocations: 15.98 kB / 0.6759 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1956, allocations: 0 / 0.6759 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.271e-05/0.1957, allocations: 99.2 kB / 0.676 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1957, allocations: 0 / 0.676 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000223/0.1959, allocations: 16 kB / 0.676 GB, free: 12.18 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: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * 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.0001101/0.196, allocations: 106.2 kB / 0.6761 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1962, allocations: 55.95 kB / 0.6761 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1962, allocations: 0 / 0.6761 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.707e-05/0.1963, allocations: 31.92 kB / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.1966, allocations: 4 kB / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.1971, allocations: 183.1 kB / 0.6764 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.1974, allocations: 0.6924 MB / 0.677 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.1974, allocations: 4.234 kB / 0.677 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.1975, allocations: 11.44 kB / 0.677 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1975, allocations: 0 / 0.677 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of Templates: time 0.00323/0.2007, allocations: 0.9212 MB / 0.6779 GB, free: 10.14 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)