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.0009313/0.0009313, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.0009918/0.0009918, allocations: 170 kB / 25.05 MB, free: 8.793 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.945/0.945, allocations: 177.1 MB / 205.5 MB, free: 5.445 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.928/1.928, allocations: 389.6 MB / 0.6363 GB, free: 12.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 2.144e-06/2.144e-06, allocations: 0 / 0.7761 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.06e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002618/0.002648, allocations: 1.792 MB / 0.7779 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008602/0.003509, allocations: 0.5157 MB / 0.7784 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.003573, allocations: 0 / 0.7784 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.003611, allocations: 11.88 kB / 0.7784 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.443e-05/0.003706, allocations: 14.42 kB / 0.7784 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.003919, allocations: 47.92 kB / 0.7785 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.00405, allocations: 90.11 kB / 0.7785 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.004148, allocations: 32.12 kB / 0.7786 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.004291, allocations: 51.89 kB / 0.7786 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.438e-05/0.004356, allocations: 31.89 kB / 0.7786 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.004373, allocations: 8 kB / 0.7787 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.652e-05/0.00443, allocations: 8.625 kB / 0.7787 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.004444, allocations: 12 kB / 0.7787 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.00447, allocations: 29.69 kB / 0.7787 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.004591, allocations: 71.67 kB / 0.7788 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004594, allocations: 0 / 0.7788 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.232e-06/0.004595, allocations: 0 / 0.7788 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004599, allocations: 0 / 0.7788 GB, free: 2.609 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.0003649/0.004964, allocations: 289.8 kB / 0.779 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.004999, allocations: 8.75 kB / 0.7791 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.005136, allocations: 32.66 kB / 0.7791 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.00528, allocations: 135 kB / 0.7792 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.00529, allocations: 384 / 0.7792 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.005303, allocations: 8.375 kB / 0.7792 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.005437, allocations: 114.3 kB / 0.7793 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.005445, allocations: 192 / 0.7793 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.005453, allocations: 384 / 0.7793 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.00546, allocations: 7.938 kB / 0.7793 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.005486, allocations: 11 kB / 0.7794 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.00574, allocations: 188.2 kB / 0.7795 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/0.005799, allocations: 26.56 kB / 0.7796 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.005816, allocations: 8.859 kB / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.005831, allocations: 11.94 kB / 0.7796 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.005853, allocations: 30.66 kB / 0.7796 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.005854, allocations: 0.8125 kB / 0.7796 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0002651/0.006119, allocations: 53.7 kB / 0.7797 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.006162, allocations: 77.61 kB / 0.7797 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.989e-05/0.006241, allocations: 133.8 kB / 0.7799 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.006261, allocations: 30.64 kB / 0.7799 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.0063, allocations: 100.1 kB / 0.78 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.006317, allocations: 11.84 kB / 0.78 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.006351, allocations: 26.56 kB / 0.78 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.006428, allocations: 318.8 kB / 0.7803 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.006442, allocations: 5.781 kB / 0.7803 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.255e-05/0.006475, allocations: 43.41 kB / 0.7804 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.834e-05/0.006513, allocations: 24.78 kB / 0.7804 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006515, allocations: 128 / 0.7804 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.66e-05/0.006582, allocations: 53.62 kB / 0.7804 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.006596, allocations: 8.688 kB / 0.7805 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.006603, allocations: 0 / 0.7805 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.006612, allocations: 1.562 kB / 0.7805 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.492e-05/0.006687, allocations: 11.98 kB / 0.7805 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.00669, allocations: 0 / 0.7805 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.00672, allocations: 4.812 kB / 0.7805 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.006726, allocations: 7.922 kB / 0.7805 GB, free: 0.6914 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 6.044e-05/0.006786, allocations: 114.7 kB / 0.7806 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.006809, allocations: 12.12 kB / 0.7806 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.006834, allocations: 12.89 kB / 0.7806 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.006838, allocations: 7.984 kB / 0.7806 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.00684, allocations: 0.625 kB / 0.7806 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006843, allocations: 1.25 kB / 0.7806 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.827e-05/0.006942, allocations: 77.88 kB / 0.7807 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006944, allocations: 0 / 0.7807 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.006972, allocations: 11.98 kB / 0.7807 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.006974, allocations: 1.375 kB / 0.7807 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.00698, allocations: 3.938 kB / 0.7807 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006981, allocations: 0 / 0.7807 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.006982, allocations: 0.6875 kB / 0.7807 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.007083, allocations: 147.5 kB / 0.7809 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.007094, allocations: 9.016 kB / 0.7809 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.007113, allocations: 11.88 kB / 0.7809 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.00715, allocations: 4 kB / 0.7809 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.00719, allocations: 16.97 kB / 0.7809 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.007193, allocations: 0 / 0.7809 GB, free: 240 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.202e-05/0.007215, allocations: 21.78 kB / 0.7809 GB, free: 216 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007215, allocations: 0 / 0.7809 GB, free: 216 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001208/0.007336, allocations: 15.94 kB / 0.7809 GB, free: 200 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 0.0001081/0.007444, allocations: 81.36 kB / 0.781 GB, free: 112 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.338e-05/0.007527, allocations: 29.8 kB / 0.781 GB, free: 80 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.00753, allocations: 0 / 0.781 GB, free: 80 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.203e-05/0.007552, allocations: 21.72 kB / 0.7811 GB, free: 56 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.007682, allocations: 12.06 kB / 0.7811 GB, free: 44 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.008134, allocations: 178.7 kB / 0.7812 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.42e-05/0.008168, allocations: 59.34 kB / 0.7813 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.0082, allocations: 5.812 kB / 0.7813 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.008257, allocations: 59.36 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/0.008258, allocations: 0 / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of Templates: time 0.002578/0.01084, allocations: 0.9647 MB / 0.7823 GB, free: 14.79 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.816702138632536]