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.2367/0.2375, allocations: 82.21 MB / 0.5935 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002578/0.2401, allocations: 1.372 MB / 0.5948 GB, free: 4.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000993/0.2411, allocations: 456.2 kB / 0.5953 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.2412, allocations: 3.938 kB / 0.5953 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.2413, allocations: 7.922 kB / 0.5953 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.2414, allocations: 19.88 kB / 0.5953 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.2416, allocations: 19.97 kB / 0.5953 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.2417, allocations: 75.7 kB / 0.5954 GB, free: 4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.2419, allocations: 15.98 kB / 0.5954 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.242, allocations: 27.86 kB / 0.5954 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.2421, allocations: 31.84 kB / 0.5954 GB, free: 3.926 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.2421, allocations: 4 kB / 0.5955 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.2422, allocations: 4 kB / 0.5955 GB, free: 3.918 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.2422, allocations: 3.984 kB / 0.5955 GB, free: 3.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.2422, allocations: 37.64 kB / 0.5955 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.2423, allocations: 64.09 kB / 0.5956 GB, free: 3.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2424, allocations: 0 / 0.5956 GB, free: 3.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.2424, allocations: 0 / 0.5956 GB, free: 3.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.2424, allocations: 0 / 0.5956 GB, free: 3.809 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.0006711/0.2431, allocations: 391 kB / 0.5959 GB, free: 3.379 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2431, allocations: 8.031 kB / 0.5959 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.2432, allocations: 7.906 kB / 0.5959 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.2433, allocations: 178.9 kB / 0.5961 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2434, allocations: 4 kB / 0.5961 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.2434, allocations: 7.953 kB / 0.5961 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.2436, allocations: 99.36 kB / 0.5962 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2436, allocations: 0 / 0.5962 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2436, allocations: 0 / 0.5962 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2437, allocations: 0 / 0.5962 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.2438, allocations: 59.91 kB / 0.5963 GB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.2445, allocations: 332.7 kB / 0.5966 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.2446, allocations: 58.59 kB / 0.5967 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.2447, allocations: 36.94 kB / 0.5967 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.2447, allocations: 0 / 0.5967 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.2447, allocations: 38.5 kB / 0.5967 GB, free: 2.441 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2448, allocations: 0 / 0.5967 GB, free: 2.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003446/0.2451, allocations: 117.7 kB / 0.5968 GB, free: 2.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.2452, allocations: 81.05 kB / 0.5969 GB, free: 2.223 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.2453, allocations: 133 kB / 0.597 GB, free: 2.086 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2454, allocations: 29.7 kB / 0.5971 GB, free: 2.051 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.2454, allocations: 104 kB / 0.5972 GB, free: 1.945 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.2454, allocations: 7.906 kB / 0.5972 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.2455, allocations: 0 / 0.5972 GB, free: 1.938 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2456, allocations: 326.8 kB / 0.5975 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.2457, allocations: 27.98 kB / 0.5975 GB, free: 1.582 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.2458, allocations: 45.7 kB / 0.5976 GB, free: 1.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.161e-05/0.2459, allocations: 23.98 kB / 0.5976 GB, free: 1.508 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2459, allocations: 0 / 0.5976 GB, free: 1.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001928/0.2461, allocations: 93.58 kB / 0.5977 GB, free: 1.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2461, allocations: 4 kB / 0.5977 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2461, allocations: 7.969 kB / 0.5977 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2461, allocations: 3.984 kB / 0.5977 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.2462, allocations: 15.98 kB / 0.5977 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2462, allocations: 0 / 0.5977 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.2463, allocations: 15.98 kB / 0.5977 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2463, allocations: 0 / 0.5977 GB, free: 1.363 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 0.0001007/0.2464, allocations: 122.7 kB / 0.5978 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.2465, allocations: 11.89 kB / 0.5978 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.2465, allocations: 8.25 kB / 0.5979 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2465, allocations: 4 kB / 0.5979 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2465, allocations: 0 / 0.5979 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2465, allocations: 0 / 0.5979 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.2467, allocations: 193.6 kB / 0.598 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2467, allocations: 0 / 0.598 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.2469, allocations: 15.98 kB / 0.5981 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2469, allocations: 4 kB / 0.5981 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2469, allocations: 0 / 0.5981 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2469, allocations: 0 / 0.5981 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2469, allocations: 0 / 0.5981 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.2472, allocations: 191.5 kB / 0.5982 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/0.2473, allocations: 88.95 kB / 0.5983 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.2473, allocations: 8 kB / 0.5983 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.62e-05/0.2474, allocations: 11.98 kB / 0.5983 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.2475, allocations: 11.98 kB / 0.5984 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.2475, allocations: 7.984 kB / 0.5984 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.575e-05/0.2475, allocations: 99.2 kB / 0.5985 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2475, allocations: 0 / 0.5985 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.2478, allocations: 20 kB / 0.5985 GB, free: 500 kB / 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.0001171/0.2479, allocations: 99.23 kB / 0.5986 GB, free: 392 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.2481, allocations: 59.91 kB / 0.5986 GB, free: 332 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2481, allocations: 3.938 kB / 0.5986 GB, free: 328 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.2482, allocations: 35.97 kB / 0.5987 GB, free: 292 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.2485, allocations: 11.95 kB / 0.5987 GB, free: 280 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.2489, allocations: 202.5 kB / 0.5989 GB, free: 48 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.2493, allocations: 0.6887 MB / 0.5995 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.237e-05/0.2494, allocations: 8.047 kB / 0.5996 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.2494, allocations: 11.42 kB / 0.5996 GB, free: 15.31 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2494, allocations: 3.938 kB / 0.5996 GB, free: 15.31 MB / 462.1 MB Notification: Performance of Templates: time 0.003118/0.2526, allocations: 0.7182 MB / 0.6003 GB, free: 14.63 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: