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.1942/0.1962, allocations: 80.82 MB / 0.6706 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003646/0.2, allocations: 1.667 MB / 0.6723 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.201, allocations: 487.7 kB / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.2011, allocations: 0 / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.2011, allocations: 7.938 kB / 0.6727 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.2012, allocations: 23.8 kB / 0.6727 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.2015, allocations: 27.97 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.2016, allocations: 91.62 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.2018, allocations: 27.92 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.202, allocations: 35.86 kB / 0.6729 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.2021, allocations: 35.84 kB / 0.673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.2021, allocations: 8 kB / 0.673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.768e-05/0.2021, allocations: 8 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.2021, allocations: 23.91 kB / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.2022, allocations: 35.8 kB / 0.673 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.2023, allocations: 83.69 kB / 0.6731 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2024, allocations: 0 / 0.6731 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2024, allocations: 0 / 0.6731 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2024, allocations: 0 / 0.6731 GB, free: 15.4 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.00062/0.203, allocations: 395.1 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.2031, allocations: 8.031 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.2031, allocations: 8.844 kB / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.2033, allocations: 176.2 kB / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.2034, allocations: 4.375 kB / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.2034, allocations: 8.375 kB / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.2037, allocations: 95.62 kB / 0.6738 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2037, allocations: 3.984 kB / 0.6738 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.2037, allocations: 4 kB / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2037, allocations: 0 / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.2039, allocations: 47.97 kB / 0.6738 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.2046, allocations: 324.6 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.2048, allocations: 58.55 kB / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.2049, allocations: 28.88 kB / 0.6742 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2049, allocations: 0 / 0.6742 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.2049, allocations: 38.66 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.2049, allocations: 3.938 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0003705/0.2053, allocations: 101.6 kB / 0.6744 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.2054, allocations: 81.09 kB / 0.6744 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.2055, allocations: 126.1 kB / 0.6746 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.2055, allocations: 25.7 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.2056, allocations: 108 kB / 0.6747 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.2056, allocations: 7.906 kB / 0.6747 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.2057, allocations: 25.7 kB / 0.6747 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.2058, allocations: 322.8 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.2059, allocations: 23.98 kB / 0.675 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.495e-05/0.206, allocations: 37.7 kB / 0.6751 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.2061, allocations: 52.77 kB / 0.6751 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2061, allocations: 0 / 0.6751 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002012/0.2064, allocations: 85.61 kB / 0.6752 GB, free: 13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2064, allocations: 10.97 kB / 0.6752 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2064, allocations: 0 / 0.6752 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2064, allocations: 0 / 0.6752 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.2065, allocations: 11.98 kB / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2065, allocations: 0 / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.2066, allocations: 15.92 kB / 0.6752 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.2066, allocations: 3.938 kB / 0.6753 GB, free: 12.96 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.0001018/0.2068, allocations: 121.8 kB / 0.6754 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.2068, allocations: 7.906 kB / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.2068, allocations: 16.23 kB / 0.6754 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2068, allocations: 4 kB / 0.6754 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2069, allocations: 0 / 0.6754 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2069, allocations: 0 / 0.6754 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.2071, allocations: 189.5 kB / 0.6756 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2071, allocations: 4 kB / 0.6756 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.2072, allocations: 4.188 kB / 0.6756 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2072, allocations: 4 kB / 0.6756 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.2072, allocations: 11.98 kB / 0.6756 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2073, allocations: 0 / 0.6756 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2073, allocations: 7.922 kB / 0.6756 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.2076, allocations: 179.4 kB / 0.6758 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.2077, allocations: 81.02 kB / 0.6759 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.2077, allocations: 4 kB / 0.6759 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2078, allocations: 20.16 kB / 0.6759 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.2079, allocations: 7.984 kB / 0.6759 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.2079, allocations: 0 / 0.6759 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.208, allocations: 110.6 kB / 0.676 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.208, allocations: 0 / 0.676 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002259/0.2082, allocations: 8 kB / 0.676 GB, free: 12.1 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.0001141/0.2083, allocations: 115.2 kB / 0.6761 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.2086, allocations: 51.97 kB / 0.6762 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.2086, allocations: 4 kB / 0.6762 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.2087, allocations: 27.92 kB / 0.6762 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.209, allocations: 4 kB / 0.6762 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.2095, allocations: 179.1 kB / 0.6764 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.2097, allocations: 0.6963 MB / 0.677 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.2098, allocations: 4.25 kB / 0.677 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.2098, allocations: 7.438 kB / 0.6771 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.2098, allocations: 0 / 0.6771 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.003785/0.2136, allocations: 0.8841 MB / 0.6779 GB, free: 10.09 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)