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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8327/0.8327, allocations: 132.4 MB / 139.9 MB, free: 2.801 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001078/0.001078, allocations: 171 kB / 171.8 MB, free: 4.949 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.509/1.509, allocations: 170.6 MB / 374.2 MB, free: 156 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001928/0.001928, allocations: 100.2 kB / 444.8 MB, free: 14.17 MB / 314.7 MB [/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.1806/0.1807, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5975/0.7783, allocations: 102.3 MB / 0.7665 GB, free: 13.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.7786, allocations: 96.61 kB / 0.7666 GB, free: 13.24 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004129/0.7828, allocations: 1.396 MB / 0.768 GB, free: 11.85 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7828, allocations: 0 / 0.768 GB, free: 11.85 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.7828, allocations: 4 kB / 0.768 GB, free: 11.85 MB / 474.7 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.0005091/0.7833, allocations: 378.9 kB / 0.7683 GB, free: 11.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.7834, allocations: 8.031 kB / 0.7683 GB, free: 11.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.7835, allocations: 7.906 kB / 0.7683 GB, free: 11.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.7837, allocations: 178.9 kB / 0.7685 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.7837, allocations: 0 / 0.7685 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.7837, allocations: 11.94 kB / 0.7685 GB, free: 11.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001144/0.7838, allocations: 27.94 kB / 0.7685 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.784, allocations: 57.67 kB / 0.7686 GB, free: 11.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.784, allocations: 0 / 0.7686 GB, free: 11.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.784, allocations: 8 kB / 0.7686 GB, free: 11.09 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.784, allocations: 1.203 kB / 0.7686 GB, free: 11.09 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.7846, allocations: 293.3 kB / 0.7689 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.7847, allocations: 47.41 kB / 0.7689 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.7848, allocations: 19.89 kB / 0.769 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.7848, allocations: 0 / 0.769 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.7848, allocations: 34.56 kB / 0.769 GB, free: 10.65 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.7848, allocations: 0 / 0.769 GB, free: 10.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001855/0.785, allocations: 65.72 kB / 0.7691 GB, free: 10.58 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.7851, allocations: 51.41 kB / 0.7691 GB, free: 10.52 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.7852, allocations: 118.4 kB / 0.7692 GB, free: 10.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.7852, allocations: 29.7 kB / 0.7692 GB, free: 10.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.7853, allocations: 109.5 kB / 0.7693 GB, free: 10.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.7853, allocations: 7.812 kB / 0.7694 GB, free: 10.24 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.7853, allocations: 0 / 0.7694 GB, free: 10.24 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.7855, allocations: 326.8 kB / 0.7697 GB, free: 9.914 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.7855, allocations: 12 kB / 0.7697 GB, free: 9.902 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/0.7856, allocations: 12 kB / 0.7697 GB, free: 9.891 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/0.7856, allocations: 13.5 kB / 0.7697 GB, free: 9.879 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7856, allocations: 0 / 0.7697 GB, free: 9.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000118/0.7857, allocations: 69.59 kB / 0.7698 GB, free: 9.805 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7858, allocations: 4 kB / 0.7698 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.7858, allocations: 0 / 0.7698 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.7858, allocations: 4 kB / 0.7698 GB, free: 9.797 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.7859, allocations: 15.92 kB / 0.7698 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.7859, allocations: 0 / 0.7698 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.786, allocations: 11.98 kB / 0.7698 GB, free: 9.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.786, allocations: 7.938 kB / 0.7698 GB, free: 9.762 MB / 474.7 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 () * 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.789e-05/0.7861, allocations: 115 kB / 0.7699 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.7862, allocations: 7.906 kB / 0.7699 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.7862, allocations: 12.33 kB / 0.7699 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.7862, allocations: 0 / 0.7699 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7862, allocations: 0 / 0.7699 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.7862, allocations: 4 kB / 0.7699 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.7864, allocations: 162.2 kB / 0.7701 GB, free: 9.422 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.7864, allocations: 192 / 0.7701 GB, free: 9.422 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.7865, allocations: 23.94 kB / 0.7701 GB, free: 9.398 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.7865, allocations: 0 / 0.7701 GB, free: 9.398 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.7866, allocations: 0 / 0.7701 GB, free: 9.398 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7866, allocations: 0 / 0.7701 GB, free: 9.398 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.7866, allocations: 4 kB / 0.7701 GB, free: 9.395 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.7868, allocations: 155.4 kB / 0.7703 GB, free: 9.227 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.7868, allocations: 89.19 kB / 0.7704 GB, free: 9.121 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.7869, allocations: 3.953 kB / 0.7704 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.787, allocations: 23.97 kB / 0.7704 GB, free: 9.094 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.7871, allocations: 3.984 kB / 0.7704 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.7871, allocations: 4 kB / 0.7704 GB, free: 9.086 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.864e-05/0.7872, allocations: 104.3 kB / 0.7705 GB, free: 8.984 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7872, allocations: 0 / 0.7705 GB, free: 8.984 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.7874, allocations: 11.94 kB / 0.7705 GB, free: 8.973 MB / 474.7 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) * 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.0001587/0.7876, allocations: 99.25 kB / 0.7706 GB, free: 8.867 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.7877, allocations: 35.98 kB / 0.7706 GB, free: 8.832 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7877, allocations: 0 / 0.7706 GB, free: 8.832 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.634e-05/0.7877, allocations: 19.94 kB / 0.7707 GB, free: 8.812 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.788, allocations: 7.938 kB / 0.7707 GB, free: 8.805 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.7883, allocations: 108.3 kB / 0.7708 GB, free: 8.676 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.7886, allocations: 0.6924 MB / 0.7714 GB, free: 7.957 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.243e-05/0.7886, allocations: 8 kB / 0.7714 GB, free: 7.949 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.7887, allocations: 11.44 kB / 0.7715 GB, free: 7.938 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7887, allocations: 0 / 0.7715 GB, free: 7.938 MB / 474.7 MB Notification: Performance of Templates: time 0.002836/0.7915, allocations: 0.5825 MB / 0.772 GB, free: 7.375 MB / 474.7 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)