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.2217/0.2225, allocations: 82.22 MB / 0.5941 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.00277/0.2253, allocations: 1.391 MB / 0.5955 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2264, allocations: 475.8 kB / 0.5959 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2265, allocations: 4 kB / 0.5959 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.536e-05/0.2266, allocations: 4 kB / 0.5959 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.2268, allocations: 15.84 kB / 0.596 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.2271, allocations: 23.92 kB / 0.596 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.2272, allocations: 75.72 kB / 0.5961 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.2274, allocations: 32.2 kB / 0.5961 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.2275, allocations: 35.84 kB / 0.5961 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.2277, allocations: 31.78 kB / 0.5961 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.2277, allocations: 4 kB / 0.5962 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.2277, allocations: 0 / 0.5962 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.2278, allocations: 8 kB / 0.5962 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.317e-05/0.2279, allocations: 53.5 kB / 0.5962 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.228, allocations: 79.67 kB / 0.5963 GB, free: 3.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.228, allocations: 0 / 0.5963 GB, free: 3.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.2281, allocations: 3.938 kB / 0.5963 GB, free: 3.297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.2281, allocations: 4 kB / 0.5963 GB, free: 3.293 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.000696/0.2288, allocations: 387.2 kB / 0.5967 GB, free: 2.867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.2288, allocations: 8.031 kB / 0.5967 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.2289, allocations: 12.83 kB / 0.5967 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.2291, allocations: 180.2 kB / 0.5969 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.2291, allocations: 384 / 0.5969 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.2292, allocations: 8.375 kB / 0.5969 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.2294, allocations: 99.62 kB / 0.597 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2295, allocations: 0 / 0.597 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.2295, allocations: 4 kB / 0.597 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2295, allocations: 0 / 0.597 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.2297, allocations: 63.95 kB / 0.597 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.2304, allocations: 324.6 kB / 0.5973 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.2306, allocations: 62.56 kB / 0.5974 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.2308, allocations: 28.94 kB / 0.5974 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.2308, allocations: 4 kB / 0.5974 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2308, allocations: 30.56 kB / 0.5975 GB, free: 1.938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2308, allocations: 4 kB / 0.5975 GB, free: 1.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004174/0.2313, allocations: 117.6 kB / 0.5976 GB, free: 1.812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/0.2314, allocations: 77.11 kB / 0.5976 GB, free: 1.719 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.2315, allocations: 132.8 kB / 0.5978 GB, free: 1.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.2315, allocations: 33.7 kB / 0.5978 GB, free: 1.543 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.2316, allocations: 92.08 kB / 0.5979 GB, free: 1.449 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.2317, allocations: 19.8 kB / 0.5979 GB, free: 1.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.2317, allocations: 9.719 kB / 0.5979 GB, free: 1.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2319, allocations: 326.8 kB / 0.5982 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/0.232, allocations: 27.92 kB / 0.5983 GB, free: 1.059 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.945e-05/0.2321, allocations: 45.7 kB / 0.5983 GB, free: 1.008 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.2322, allocations: 60.77 kB / 0.5984 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2322, allocations: 0 / 0.5984 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002259/0.2325, allocations: 93.61 kB / 0.5984 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2325, allocations: 7.938 kB / 0.5985 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2325, allocations: 0 / 0.5985 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2325, allocations: 0 / 0.5985 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.2327, allocations: 19.98 kB / 0.5985 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2327, allocations: 0 / 0.5985 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2328, allocations: 15.98 kB / 0.5985 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.2328, allocations: 8.125 kB / 0.5985 GB, free: 0.7969 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 9.204e-05/0.2329, allocations: 114.7 kB / 0.5986 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.233, allocations: 11.89 kB / 0.5986 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.233, allocations: 12.23 kB / 0.5986 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.233, allocations: 0 / 0.5986 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.233, allocations: 7.938 kB / 0.5986 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.233, allocations: 4.188 kB / 0.5986 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.2333, allocations: 193.6 kB / 0.5988 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2333, allocations: 0 / 0.5988 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.259e-05/0.2333, allocations: 12 kB / 0.5988 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2334, allocations: 3.984 kB / 0.5988 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2334, allocations: 0 / 0.5988 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2334, allocations: 0 / 0.5988 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2334, allocations: 0 / 0.5988 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.2336, allocations: 191.4 kB / 0.599 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.2337, allocations: 84.95 kB / 0.5991 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.2337, allocations: 4 kB / 0.5991 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2338, allocations: 11.98 kB / 0.5991 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.2339, allocations: 15.98 kB / 0.5991 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.2339, allocations: 4 kB / 0.5991 GB, free: 48 kB / 446.1 MB Notification: Performance of sorting global known variables: time 7.854e-05/0.234, allocations: 103.1 kB / 0.5992 GB, free: 15.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.234, allocations: 0 / 0.5992 GB, free: 15.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.2342, allocations: 16 kB / 0.5992 GB, free: 15.93 MB / 462.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 0.0001237/0.2344, allocations: 102.3 kB / 0.5993 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.2346, allocations: 59.97 kB / 0.5994 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2346, allocations: 4 kB / 0.5994 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/0.2347, allocations: 27.98 kB / 0.5994 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.235, allocations: 7.938 kB / 0.5994 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.2355, allocations: 214.7 kB / 0.5996 GB, free: 15.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.236, allocations: 0.6965 MB / 0.6003 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.312e-05/0.236, allocations: 4 kB / 0.6003 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.2361, allocations: 15.44 kB / 0.6003 GB, free: 14.75 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2361, allocations: 0 / 0.6003 GB, free: 14.75 MB / 462.1 MB Notification: Performance of Templates: time 0.003305/0.2394, allocations: 0.7365 MB / 0.6011 GB, free: 14.05 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: