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.415/0.4172, allocations: 80.82 MB / 0.5904 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003029/0.4203, allocations: 1.673 MB / 0.592 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000682/0.421, allocations: 493.5 kB / 0.5925 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.4211, allocations: 1.188 kB / 0.5925 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.925e-05/0.4211, allocations: 11.86 kB / 0.5925 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.896e-05/0.4212, allocations: 11.47 kB / 0.5925 GB, free: 20.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.4214, allocations: 33.16 kB / 0.5926 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.4215, allocations: 83.45 kB / 0.5927 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.4216, allocations: 28.52 kB / 0.5927 GB, free: 20.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.4218, allocations: 33.45 kB / 0.5927 GB, free: 20.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.4218, allocations: 42.48 kB / 0.5928 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.4219, allocations: 6.469 kB / 0.5928 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.815e-05/0.4219, allocations: 11.94 kB / 0.5928 GB, free: 20.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.4219, allocations: 16.48 kB / 0.5928 GB, free: 20.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.422, allocations: 36.39 kB / 0.5928 GB, free: 20.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.4221, allocations: 84.75 kB / 0.5929 GB, free: 20.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4221, allocations: 0 / 0.5929 GB, free: 20.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4221, allocations: 0 / 0.5929 GB, free: 20.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.4221, allocations: 4.438 kB / 0.5929 GB, free: 20.4 MB / 446.1 MB 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.0004945/0.4226, allocations: 396 kB / 0.5933 GB, free: 19.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4227, allocations: 8.875 kB / 0.5933 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.4227, allocations: 8.844 kB / 0.5933 GB, free: 19.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.4228, allocations: 175.1 kB / 0.5935 GB, free: 19.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.4229, allocations: 4.375 kB / 0.5935 GB, free: 19.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.4229, allocations: 8.375 kB / 0.5935 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.4231, allocations: 92.12 kB / 0.5936 GB, free: 19.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4231, allocations: 6.922 kB / 0.5936 GB, free: 19.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.4231, allocations: 3.984 kB / 0.5936 GB, free: 19.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.4231, allocations: 0 / 0.5936 GB, free: 19.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.4233, allocations: 47.97 kB / 0.5936 GB, free: 19.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.4237, allocations: 340 kB / 0.5939 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.4239, allocations: 46.56 kB / 0.594 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.4239, allocations: 28.94 kB / 0.594 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.424, allocations: 3.469 kB / 0.594 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.424, allocations: 30.56 kB / 0.5941 GB, free: 19.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.424, allocations: 0 / 0.5941 GB, free: 19.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003364/0.4243, allocations: 109.6 kB / 0.5942 GB, free: 18.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.4244, allocations: 77.11 kB / 0.5942 GB, free: 18.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.4245, allocations: 135.4 kB / 0.5944 GB, free: 18.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.4245, allocations: 25.7 kB / 0.5944 GB, free: 18.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.4245, allocations: 100 kB / 0.5945 GB, free: 18.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.4246, allocations: 11.84 kB / 0.5945 GB, free: 18.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.4246, allocations: 17.72 kB / 0.5945 GB, free: 18.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.737e-05/0.4247, allocations: 322.8 kB / 0.5948 GB, free: 18.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.4247, allocations: 23.98 kB / 0.5948 GB, free: 18.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.808e-05/0.4248, allocations: 41.7 kB / 0.5949 GB, free: 18.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.4249, allocations: 48.77 kB / 0.5949 GB, free: 18.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.425, allocations: 4.062 kB / 0.5949 GB, free: 18.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001588/0.4251, allocations: 93.58 kB / 0.595 GB, free: 18.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.4251, allocations: 10.17 kB / 0.595 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4251, allocations: 0 / 0.595 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4252, allocations: 4.031 kB / 0.595 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.4253, allocations: 8 kB / 0.595 GB, free: 17.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4253, allocations: 0 / 0.595 GB, free: 17.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.964e-05/0.4254, allocations: 15.92 kB / 0.5951 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.4254, allocations: 3.938 kB / 0.5951 GB, free: 17.97 MB / 446.1 MB 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 6.903e-05/0.4254, allocations: 117.8 kB / 0.5952 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.4255, allocations: 7.906 kB / 0.5952 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.4255, allocations: 16.19 kB / 0.5952 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.4255, allocations: 4 kB / 0.5952 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.4255, allocations: 0 / 0.5952 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4255, allocations: 0 / 0.5952 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.4257, allocations: 193.6 kB / 0.5954 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4257, allocations: 0 / 0.5954 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.4257, allocations: 7.984 kB / 0.5954 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4257, allocations: 4 kB / 0.5954 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.4258, allocations: 0 / 0.5954 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4258, allocations: 0 / 0.5954 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4258, allocations: 0 / 0.5954 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.426, allocations: 183.4 kB / 0.5956 GB, free: 17.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.426, allocations: 81.25 kB / 0.5956 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.426, allocations: 4 kB / 0.5957 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.4261, allocations: 11.98 kB / 0.5957 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.4262, allocations: 11.97 kB / 0.5957 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.4262, allocations: 11.92 kB / 0.5957 GB, free: 17.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.4262, allocations: 109.5 kB / 0.5958 GB, free: 17.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4262, allocations: 0 / 0.5958 GB, free: 17.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.4265, allocations: 12 kB / 0.5958 GB, free: 17.12 MB / 446.1 MB 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 8.443e-05/0.4265, allocations: 95.25 kB / 0.5959 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.4267, allocations: 55.97 kB / 0.5959 GB, free: 16.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4268, allocations: 0 / 0.5959 GB, free: 16.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.149e-05/0.4268, allocations: 35.91 kB / 0.596 GB, free: 16.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.4271, allocations: 4.188 kB / 0.596 GB, free: 16.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.4275, allocations: 182.9 kB / 0.5962 GB, free: 16.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.4276, allocations: 0.6924 MB / 0.5968 GB, free: 16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.924e-05/0.4276, allocations: 4 kB / 0.5968 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.4277, allocations: 19.42 kB / 0.5969 GB, free: 15.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4277, allocations: 3.938 kB / 0.5969 GB, free: 15.97 MB / 446.1 MB Notification: Performance of Templates: time 0.003058/0.4307, allocations: 0.8719 MB / 0.5977 GB, free: 15.14 MB / 446.1 MB 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)