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.0008805/0.0008805, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.0008843/0.0008843, allocations: 164.2 kB / 24.96 MB, free: 8.121 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.8894/0.8894, allocations: 177.1 MB / 205.4 MB, free: 5.48 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.821/1.821, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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.282e-06/1.282e-06, allocations: 0 / 0.776 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.527e-05, allocations: 11.38 kB / 0.776 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001939/0.001954, allocations: 1.789 MB / 0.7777 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006693/0.002624, allocations: 0.5144 MB / 0.7782 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.00267, allocations: 0 / 0.7782 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.002697, allocations: 11.86 kB / 0.7782 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/0.002772, allocations: 24.98 kB / 0.7783 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.002931, allocations: 43.88 kB / 0.7783 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.003043, allocations: 92.41 kB / 0.7784 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.689e-05/0.00312, allocations: 25.3 kB / 0.7784 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.003231, allocations: 51.89 kB / 0.7785 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.003284, allocations: 27.91 kB / 0.7785 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.003299, allocations: 9 kB / 0.7785 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.099e-05/0.00334, allocations: 11.98 kB / 0.7785 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.003354, allocations: 19.92 kB / 0.7785 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.003376, allocations: 24.52 kB / 0.7785 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.609e-05/0.003472, allocations: 68.22 kB / 0.7786 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003474, allocations: 4 kB / 0.7786 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003475, allocations: 0.9375 kB / 0.7786 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003478, allocations: 0 / 0.7786 GB, free: 2.688 MB / 0.7292 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.0002625/0.00374, allocations: 289.5 kB / 0.7789 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.602e-05/0.003766, allocations: 14.19 kB / 0.7789 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.003874, allocations: 24.92 kB / 0.7789 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.003984, allocations: 129.6 kB / 0.779 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.003991, allocations: 5.031 kB / 0.7791 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.003998, allocations: 4.375 kB / 0.7791 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.004115, allocations: 119 kB / 0.7792 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.00412, allocations: 1.906 kB / 0.7792 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.004128, allocations: 384 / 0.7792 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.004132, allocations: 3.938 kB / 0.7792 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.004159, allocations: 11.98 kB / 0.7792 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.004369, allocations: 185.1 kB / 0.7794 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.875e-05/0.004417, allocations: 31.12 kB / 0.7794 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.004432, allocations: 9.891 kB / 0.7794 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.004446, allocations: 4.031 kB / 0.7794 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.004466, allocations: 42.5 kB / 0.7794 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.004467, allocations: 0.6562 kB / 0.7795 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 9.238e-05/0.00456, allocations: 46.64 kB / 0.7795 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.004707, allocations: 81.11 kB / 0.7796 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.004769, allocations: 137.3 kB / 0.7797 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.004784, allocations: 30.45 kB / 0.7797 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.004816, allocations: 92.08 kB / 0.7798 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.004832, allocations: 20.52 kB / 0.7798 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.004857, allocations: 17.72 kB / 0.7799 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/0.00492, allocations: 320.6 kB / 0.7802 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.004931, allocations: 4 kB / 0.7802 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/0.004959, allocations: 55.28 kB / 0.7802 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.004989, allocations: 16.84 kB / 0.7802 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00499, allocations: 0.875 kB / 0.7802 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.099e-05/0.005051, allocations: 57.61 kB / 0.7803 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.00506, allocations: 4 kB / 0.7803 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.005064, allocations: 0.5938 kB / 0.7803 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.005072, allocations: 1.062 kB / 0.7803 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/0.005121, allocations: 8 kB / 0.7803 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.005124, allocations: 7.922 kB / 0.7803 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.005149, allocations: 4.812 kB / 0.7803 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.005153, allocations: 5.125 kB / 0.7803 GB, free: 0.7695 MB / 0.7292 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 4.63e-05/0.0052, allocations: 109.8 kB / 0.7804 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.005216, allocations: 12.77 kB / 0.7804 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.005235, allocations: 12.34 kB / 0.7804 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.005237, allocations: 0 / 0.7804 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.005238, allocations: 0.8438 kB / 0.7805 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.00524, allocations: 0 / 0.7805 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.267e-05/0.005322, allocations: 87.08 kB / 0.7805 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.005324, allocations: 4 kB / 0.7805 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.005347, allocations: 4 kB / 0.7805 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.00535, allocations: 5.734 kB / 0.7805 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.005356, allocations: 7.922 kB / 0.7806 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005357, allocations: 0 / 0.7806 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005357, allocations: 4 kB / 0.7806 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.824e-05/0.005426, allocations: 136.6 kB / 0.7807 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.005436, allocations: 11.95 kB / 0.7807 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.005451, allocations: 11.92 kB / 0.7807 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.00549, allocations: 5.625 kB / 0.7807 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.005518, allocations: 7.984 kB / 0.7807 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.005522, allocations: 3.984 kB / 0.7807 GB, free: 328 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.066e-05/0.005542, allocations: 32.83 kB / 0.7808 GB, free: 292 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005542, allocations: 0.9062 kB / 0.7808 GB, free: 292 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001155/0.005658, allocations: 11.94 kB / 0.7808 GB, free: 280 kB / 0.7292 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 5.624e-05/0.005714, allocations: 83.92 kB / 0.7809 GB, free: 192 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.063e-05/0.005775, allocations: 24.84 kB / 0.7809 GB, free: 164 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.005777, allocations: 4.594 kB / 0.7809 GB, free: 160 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.005801, allocations: 17.73 kB / 0.7809 GB, free: 140 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.005924, allocations: 7.984 kB / 0.7809 GB, free: 132 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.006338, allocations: 183.6 kB / 0.7811 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.292e-05/0.006371, allocations: 63.34 kB / 0.7811 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.006397, allocations: 3.984 kB / 0.7811 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.006448, allocations: 58.12 kB / 0.7812 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.006449, allocations: 0 / 0.7812 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of Templates: time 0.002114/0.008563, allocations: 0.9643 MB / 0.7821 GB, free: 14.88 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.587723548524082]