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.2333/0.2351, allocations: 80.83 MB / 0.5897 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003843/0.239, allocations: 1.731 MB / 0.5914 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.2401, allocations: 491.7 kB / 0.5918 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.2401, allocations: 3.938 kB / 0.5919 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.256e-05/0.2402, allocations: 3.938 kB / 0.5919 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.2403, allocations: 15.91 kB / 0.5919 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.2405, allocations: 23.92 kB / 0.5919 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.2407, allocations: 75.72 kB / 0.592 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2408, allocations: 32.2 kB / 0.592 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.241, allocations: 35.84 kB / 0.592 GB, free: 4.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.2411, allocations: 35.84 kB / 0.5921 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.2412, allocations: 4 kB / 0.5921 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.951e-05/0.2412, allocations: 4 kB / 0.5921 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.2412, allocations: 11.92 kB / 0.5921 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.199e-05/0.2413, allocations: 35.84 kB / 0.5921 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.2414, allocations: 75.7 kB / 0.5922 GB, free: 4.516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2415, allocations: 3.938 kB / 0.5922 GB, free: 4.512 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2415, allocations: 4 kB / 0.5922 GB, free: 4.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2415, allocations: 0 / 0.5922 GB, free: 4.508 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.0006649/0.2421, allocations: 391.2 kB / 0.5926 GB, free: 4.078 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.2422, allocations: 8.031 kB / 0.5926 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.2423, allocations: 12.84 kB / 0.5926 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.2424, allocations: 184.1 kB / 0.5928 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2424, allocations: 384 / 0.5928 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.2425, allocations: 4.375 kB / 0.5928 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.2427, allocations: 103.6 kB / 0.5929 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2427, allocations: 0 / 0.5929 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.2427, allocations: 4 kB / 0.5929 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2427, allocations: 0 / 0.5929 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.2429, allocations: 47.97 kB / 0.5929 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006424/0.2436, allocations: 328.7 kB / 0.5932 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.2437, allocations: 46.56 kB / 0.5933 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.2438, allocations: 28.94 kB / 0.5933 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.2438, allocations: 8 kB / 0.5933 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.2439, allocations: 30.56 kB / 0.5933 GB, free: 3.168 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.2439, allocations: 0 / 0.5933 GB, free: 3.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003814/0.2443, allocations: 105.6 kB / 0.5934 GB, free: 3.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.2444, allocations: 77.11 kB / 0.5935 GB, free: 2.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.2445, allocations: 133.1 kB / 0.5936 GB, free: 2.828 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.2446, allocations: 37.7 kB / 0.5937 GB, free: 2.785 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.2447, allocations: 104 kB / 0.5938 GB, free: 2.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.2447, allocations: 7.812 kB / 0.5938 GB, free: 2.672 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.2447, allocations: 17.72 kB / 0.5938 GB, free: 2.648 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.2449, allocations: 326.8 kB / 0.5941 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.161e-05/0.2449, allocations: 19.98 kB / 0.5941 GB, free: 2.301 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.245, allocations: 37.7 kB / 0.5942 GB, free: 2.258 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2452, allocations: 60.73 kB / 0.5942 GB, free: 2.195 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2452, allocations: 0 / 0.5942 GB, free: 2.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001912/0.2454, allocations: 81.66 kB / 0.5943 GB, free: 2.109 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2454, allocations: 4 kB / 0.5943 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2454, allocations: 0 / 0.5943 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2455, allocations: 4 kB / 0.5943 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.2456, allocations: 8 kB / 0.5943 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2456, allocations: 7.984 kB / 0.5943 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.2457, allocations: 11.91 kB / 0.5943 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.2457, allocations: 11.92 kB / 0.5944 GB, free: 2.062 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 0.0001355/0.2458, allocations: 114.9 kB / 0.5945 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.2459, allocations: 8 kB / 0.5945 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.2459, allocations: 8.25 kB / 0.5945 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2459, allocations: 3.938 kB / 0.5945 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2459, allocations: 192 / 0.5945 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.246, allocations: 4 kB / 0.5945 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.2462, allocations: 205.4 kB / 0.5947 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2462, allocations: 0 / 0.5947 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.885e-05/0.2463, allocations: 11.98 kB / 0.5947 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2463, allocations: 0 / 0.5947 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2463, allocations: 0 / 0.5947 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2463, allocations: 0 / 0.5947 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2463, allocations: 0 / 0.5947 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.2466, allocations: 179.5 kB / 0.5949 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.2466, allocations: 88.95 kB / 0.5949 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.2466, allocations: 0 / 0.5949 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2468, allocations: 11.98 kB / 0.595 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.2468, allocations: 15.97 kB / 0.595 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2468, allocations: 0 / 0.595 GB, free: 1.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.694e-05/0.2469, allocations: 103.1 kB / 0.5951 GB, free: 1.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2469, allocations: 0 / 0.5951 GB, free: 1.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000222/0.2472, allocations: 20 kB / 0.5951 GB, free: 1.211 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 0.0001292/0.2473, allocations: 95.25 kB / 0.5952 GB, free: 1.109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.2475, allocations: 55.95 kB / 0.5952 GB, free: 1.055 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2476, allocations: 3.938 kB / 0.5952 GB, free: 1.051 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.2476, allocations: 23.98 kB / 0.5953 GB, free: 1.027 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.248, allocations: 15.88 kB / 0.5953 GB, free: 1.012 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.2484, allocations: 197.1 kB / 0.5955 GB, free: 0.793 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.2488, allocations: 0.6887 MB / 0.5961 GB, free: 80 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.499e-05/0.2488, allocations: 12 kB / 0.5961 GB, free: 68 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.2489, allocations: 11.42 kB / 0.5962 GB, free: 56 kB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2489, allocations: 4 kB / 0.5962 GB, free: 52 kB / 446.1 MB Notification: Performance of Templates: time 0.002897/0.2518, allocations: 0.7462 MB / 0.5969 GB, free: 15.34 MB / 462.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)