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.1532/0.1538, allocations: 82.22 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001991/0.1559, allocations: 1.358 MB / 0.5947 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.1567, allocations: 460.2 kB / 0.5951 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.1568, allocations: 0 / 0.5951 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.1568, allocations: 7.922 kB / 0.5951 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.264e-05/0.1569, allocations: 15.97 kB / 0.5952 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1571, allocations: 27.91 kB / 0.5952 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.1572, allocations: 47.88 kB / 0.5952 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1574, allocations: 19.98 kB / 0.5953 GB, free: 4.047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1575, allocations: 27.91 kB / 0.5953 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.284e-05/0.1576, allocations: 27.84 kB / 0.5953 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1576, allocations: 4 kB / 0.5953 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.1576, allocations: 4 kB / 0.5953 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.1576, allocations: 15.92 kB / 0.5953 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.1577, allocations: 37.64 kB / 0.5954 GB, free: 3.926 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.797e-05/0.1578, allocations: 64.09 kB / 0.5954 GB, free: 3.863 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1578, allocations: 0 / 0.5954 GB, free: 3.863 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1578, allocations: 0 / 0.5954 GB, free: 3.863 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1578, allocations: 0 / 0.5954 GB, free: 3.863 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.0005306/0.1583, allocations: 387 kB / 0.5958 GB, free: 3.438 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1584, allocations: 8.031 kB / 0.5958 GB, free: 3.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.1584, allocations: 11.91 kB / 0.5958 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1586, allocations: 171 kB / 0.596 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1586, allocations: 4 kB / 0.596 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.1586, allocations: 7.953 kB / 0.596 GB, free: 3.199 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.1589, allocations: 99.31 kB / 0.5961 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1589, allocations: 0 / 0.5961 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1589, allocations: 0 / 0.5961 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1589, allocations: 4 kB / 0.5961 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1591, allocations: 51.97 kB / 0.5961 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.1596, allocations: 332.6 kB / 0.5965 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1597, allocations: 58.48 kB / 0.5965 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1598, allocations: 7.984 kB / 0.5965 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1598, allocations: 34.56 kB / 0.5966 GB, free: 2.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.1598, allocations: 96 / 0.5966 GB, free: 2.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003271/0.1601, allocations: 117.6 kB / 0.5967 GB, free: 2.422 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/0.1602, allocations: 85.03 kB / 0.5967 GB, free: 2.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1603, allocations: 127.5 kB / 0.5969 GB, free: 2.188 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1604, allocations: 29.69 kB / 0.5969 GB, free: 2.152 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.1604, allocations: 99.98 kB / 0.597 GB, free: 2.051 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.1605, allocations: 11.89 kB / 0.597 GB, free: 2.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.1605, allocations: 4 kB / 0.597 GB, free: 2.035 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1606, allocations: 314.8 kB / 0.5973 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.809e-05/0.1607, allocations: 31.98 kB / 0.5973 GB, free: 1.688 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.1608, allocations: 41.7 kB / 0.5974 GB, free: 1.641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.798e-05/0.1609, allocations: 27.92 kB / 0.5974 GB, free: 1.613 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1609, allocations: 4.031 kB / 0.5974 GB, free: 1.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001919/0.1611, allocations: 97.56 kB / 0.5975 GB, free: 1.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1611, allocations: 4 kB / 0.5975 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1611, allocations: 192 / 0.5975 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1611, allocations: 4.188 kB / 0.5975 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1612, allocations: 19.98 kB / 0.5975 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1612, allocations: 0 / 0.5975 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.1613, allocations: 15.98 kB / 0.5975 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1614, allocations: 0 / 0.5975 GB, free: 1.465 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 ($PRE.chiSwi.hysteresis.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.988e-05/0.1615, allocations: 121.8 kB / 0.5977 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.1615, allocations: 7.906 kB / 0.5977 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.1615, allocations: 12.25 kB / 0.5977 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1615, allocations: 4 kB / 0.5977 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1615, allocations: 3.938 kB / 0.5977 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1616, allocations: 0 / 0.5977 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.1617, allocations: 193.6 kB / 0.5979 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1618, allocations: 0 / 0.5979 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.1618, allocations: 11.98 kB / 0.5979 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1618, allocations: 0 / 0.5979 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1619, allocations: 0 / 0.5979 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1619, allocations: 0 / 0.5979 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1619, allocations: 3.938 kB / 0.5979 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.1621, allocations: 191.4 kB / 0.5981 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.1622, allocations: 89 kB / 0.5982 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.1622, allocations: 0 / 0.5982 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1623, allocations: 23.98 kB / 0.5982 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.1624, allocations: 7.984 kB / 0.5982 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.1624, allocations: 0 / 0.5982 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.915e-05/0.1624, allocations: 110 kB / 0.5983 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1624, allocations: 0 / 0.5983 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.1627, allocations: 12 kB / 0.5983 GB, free: 0.5977 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 (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 0.0001017/0.1628, allocations: 103.2 kB / 0.5984 GB, free: 500 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.163, allocations: 63.91 kB / 0.5985 GB, free: 436 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.163, allocations: 4 kB / 0.5985 GB, free: 432 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.1631, allocations: 27.98 kB / 0.5985 GB, free: 404 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.1633, allocations: 14.41 kB / 0.5985 GB, free: 392 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.1637, allocations: 202.5 kB / 0.5987 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.164, allocations: 0.6965 MB / 0.5994 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.805e-05/0.164, allocations: 4 kB / 0.5994 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.1641, allocations: 15.42 kB / 0.5994 GB, free: 15.41 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1641, allocations: 0 / 0.5994 GB, free: 15.41 MB / 462.1 MB Notification: Performance of Templates: time 0.002954/0.167, allocations: 0.7089 MB / 0.6001 GB, free: 14.74 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: