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.001431/0.001431, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.00156/0.00156, allocations: 167.6 kB / 24.97 MB, free: 8.656 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.9645/0.9645, allocations: 177.1 MB / 205.4 MB, free: 5.492 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.944/1.944, allocations: 389.6 MB / 0.6362 GB, free: 12.32 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.763e-06/1.763e-06, allocations: 0.5469 kB / 0.776 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.561e-05, allocations: 6.75 kB / 0.776 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003414/0.003439, allocations: 1.789 MB / 0.7777 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.004422, allocations: 0.5053 MB / 0.7782 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.004495, allocations: 9.125 kB / 0.7782 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.004529, allocations: 7.922 kB / 0.7782 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.004623, allocations: 19.88 kB / 0.7782 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.004831, allocations: 41.69 kB / 0.7783 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.004973, allocations: 94.97 kB / 0.7784 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.00507, allocations: 24.14 kB / 0.7784 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.005214, allocations: 56.33 kB / 0.7785 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.005273, allocations: 28.66 kB / 0.7785 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.005294, allocations: 8 kB / 0.7785 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.798e-05/0.005352, allocations: 9.938 kB / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.005374, allocations: 23.91 kB / 0.7785 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.005406, allocations: 23.92 kB / 0.7785 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.00553, allocations: 63.75 kB / 0.7786 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005532, allocations: 0 / 0.7786 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005533, allocations: 0 / 0.7786 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.005537, allocations: 2.75 kB / 0.7786 GB, free: 2.707 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.0003847/0.005922, allocations: 296.6 kB / 0.7789 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.00596, allocations: 8.75 kB / 0.7789 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.006128, allocations: 24.92 kB / 0.7789 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.006279, allocations: 136.7 kB / 0.7791 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.006288, allocations: 384 / 0.7791 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.006304, allocations: 8.375 kB / 0.7791 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.006454, allocations: 114.3 kB / 0.7792 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.006462, allocations: 192 / 0.7792 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.006471, allocations: 8.312 kB / 0.7792 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.006478, allocations: 3.938 kB / 0.7792 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.965e-05/0.006518, allocations: 11.98 kB / 0.7792 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.006797, allocations: 185.8 kB / 0.7794 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.591e-05/0.006863, allocations: 26.56 kB / 0.7794 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.006883, allocations: 13.64 kB / 0.7794 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.006901, allocations: 7.938 kB / 0.7794 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.006924, allocations: 31.84 kB / 0.7794 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.006925, allocations: 0 / 0.7794 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001398/0.007065, allocations: 53.8 kB / 0.7795 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.007101, allocations: 77.11 kB / 0.7796 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.007189, allocations: 135.2 kB / 0.7797 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.007211, allocations: 29.7 kB / 0.7797 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.007259, allocations: 100.1 kB / 0.7798 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.007282, allocations: 15.83 kB / 0.7798 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.00732, allocations: 18.97 kB / 0.7799 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.007428, allocations: 322.8 kB / 0.7802 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.007447, allocations: 4 kB / 0.7802 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.007485, allocations: 44.06 kB / 0.7802 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.114e-05/0.007526, allocations: 16.86 kB / 0.7802 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007528, allocations: 1.25 kB / 0.7802 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.457e-05/0.007612, allocations: 61.55 kB / 0.7803 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.007625, allocations: 8 kB / 0.7803 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.007629, allocations: 0.9375 kB / 0.7803 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.007641, allocations: 0 / 0.7803 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.007715, allocations: 12.48 kB / 0.7803 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.007718, allocations: 0 / 0.7803 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.007757, allocations: 4.781 kB / 0.7803 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.007763, allocations: 0.625 kB / 0.7803 GB, free: 0.7891 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 7.121e-05/0.007834, allocations: 118.7 kB / 0.7804 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.00786, allocations: 11.92 kB / 0.7804 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.007885, allocations: 12.34 kB / 0.7805 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.007888, allocations: 1.094 kB / 0.7805 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007889, allocations: 192 / 0.7805 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.0079, allocations: 3.953 kB / 0.7805 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.007925, allocations: 12.97 kB / 0.7805 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.007998, allocations: 7.938 kB / 0.7805 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.008041, allocations: 16.7 kB / 0.7805 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001009/0.008142, allocations: 117 kB / 0.7806 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001253/0.008267, allocations: 215.3 kB / 0.7808 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.824e-05/0.008305, allocations: 26.56 kB / 0.7808 GB, free: 236 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.957e-05/0.008335, allocations: 24.83 kB / 0.7809 GB, free: 208 kB / 0.7292 GB Notification: Performance of Backend: time 2.6e-07/0.008335, allocations: 0 / 0.7809 GB, free: 208 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.00862, allocations: 82.45 kB / 0.7809 GB, free: 120 kB / 0.7292 GB Notification: Performance of SimCode: time 0.0007409/0.009361, allocations: 0.6704 MB / 0.7816 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of Templates: time 0.003062/0.01242, allocations: 1.193 MB / 0.7828 GB, free: 14.27 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.760599574074149]