Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009716/0.0009716, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 166.3 kB / 25.18 MB, free: 8.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8687/0.8687, allocations: 177.1 MB / 205.6 MB, free: 4.375 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.902/1.902, allocations: 389.6 MB / 0.6364 GB, free: 13.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.794e-05, allocations: 6.312 kB / 0.7756 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.00205/0.002068, allocations: 1.78 MB / 0.7773 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008478/0.002916, allocations: 0.5181 MB / 0.7778 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.002977, allocations: 0 / 0.7778 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.003014, allocations: 7.875 kB / 0.7778 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.003087, allocations: 15.81 kB / 0.7778 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.003265, allocations: 47.86 kB / 0.7779 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.003381, allocations: 91.66 kB / 0.778 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.003462, allocations: 20.2 kB / 0.778 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.003599, allocations: 59.83 kB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.003658, allocations: 27.89 kB / 0.7781 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.003676, allocations: 11.94 kB / 0.7781 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.191e-05/0.003728, allocations: 8 kB / 0.7781 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.003747, allocations: 19.92 kB / 0.7781 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.003772, allocations: 19.98 kB / 0.7781 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.00388, allocations: 71.73 kB / 0.7782 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.003883, allocations: 4 kB / 0.7782 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.11e-07/0.003883, allocations: 0 / 0.7782 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.003886, allocations: 0 / 0.7782 GB, free: 11.84 MB / 0.7448 GB 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.0003169/0.004203, allocations: 284.6 kB / 0.7785 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.004236, allocations: 12.03 kB / 0.7785 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.004358, allocations: 28.91 kB / 0.7785 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.004484, allocations: 129.6 kB / 0.7786 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.004492, allocations: 8.375 kB / 0.7786 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.004503, allocations: 4.375 kB / 0.7786 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.004628, allocations: 114.3 kB / 0.7788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004634, allocations: 192 / 0.7788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.004642, allocations: 384 / 0.7788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004649, allocations: 3.938 kB / 0.7788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.815e-05/0.004677, allocations: 11.94 kB / 0.7788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.004913, allocations: 192.2 kB / 0.7789 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.636e-05/0.00497, allocations: 38.59 kB / 0.779 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.004986, allocations: 8.859 kB / 0.779 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.004998, allocations: 3.938 kB / 0.779 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.005019, allocations: 38.64 kB / 0.779 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.00502, allocations: 4 kB / 0.779 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001037/0.005124, allocations: 41.69 kB / 0.7791 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.005159, allocations: 81.11 kB / 0.7792 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.005229, allocations: 134.6 kB / 0.7793 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.005246, allocations: 29.7 kB / 0.7793 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.005284, allocations: 96.06 kB / 0.7794 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.005301, allocations: 15.84 kB / 0.7794 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.005328, allocations: 25.7 kB / 0.7794 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.005402, allocations: 314.8 kB / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.005416, allocations: 7.984 kB / 0.7798 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.005446, allocations: 47.41 kB / 0.7798 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.005476, allocations: 16.84 kB / 0.7798 GB, free: 10 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.005477, allocations: 0 / 0.7798 GB, free: 10 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.435e-05/0.005532, allocations: 57.56 kB / 0.7799 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.005546, allocations: 7.938 kB / 0.7799 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.00555, allocations: 0 / 0.7799 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.762e-06/0.005557, allocations: 0 / 0.7799 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/0.00561, allocations: 16.02 kB / 0.7799 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.005613, allocations: 0 / 0.7799 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.005638, allocations: 4 kB / 0.7799 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.005645, allocations: 7.984 kB / 0.7799 GB, free: 9.906 MB / 0.7448 GB 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 5.299e-05/0.005698, allocations: 105.8 kB / 0.78 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.005714, allocations: 11.94 kB / 0.78 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.005733, allocations: 16.33 kB / 0.78 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.005735, allocations: 0 / 0.78 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.005737, allocations: 0 / 0.78 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.005739, allocations: 192 / 0.78 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.00584, allocations: 81.88 kB / 0.7801 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.005841, allocations: 192 / 0.7801 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.005864, allocations: 15.98 kB / 0.7801 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005866, allocations: 3.984 kB / 0.7801 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.005872, allocations: 3.938 kB / 0.7801 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.005872, allocations: 0 / 0.7801 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.005874, allocations: 4 kB / 0.7801 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.601e-05/0.00595, allocations: 147.5 kB / 0.7803 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.005958, allocations: 7.953 kB / 0.7803 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.005974, allocations: 3.938 kB / 0.7803 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.006012, allocations: 8 kB / 0.7803 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.006047, allocations: 15.97 kB / 0.7803 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.00605, allocations: 0 / 0.7803 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.957e-05/0.00607, allocations: 28.59 kB / 0.7803 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00607, allocations: 0 / 0.7803 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001108/0.00618, allocations: 8 kB / 0.7803 GB, free: 9.414 MB / 0.7448 GB 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 6.397e-05/0.006244, allocations: 80.42 kB / 0.7804 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.452e-05/0.006319, allocations: 32.77 kB / 0.7805 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.006323, allocations: 0 / 0.7805 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.006342, allocations: 16.84 kB / 0.7805 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.006453, allocations: 12 kB / 0.7805 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.006884, allocations: 214.4 kB / 0.7807 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.238e-05/0.006936, allocations: 86.98 kB / 0.7808 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.006996, allocations: 63.36 kB / 0.7808 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.006997, allocations: 4 kB / 0.7808 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of Templates: time 0.001553/0.00855, allocations: 1.069 MB / 0.7819 GB, free: 7.785 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.319732791744173]