Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.0008186/0.0008186, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.0008297/0.0008297, allocations: 161.3 kB / 23.51 MB, free: 0.918 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.9408/0.9408, allocations: 177.2 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.009/2.009, allocations: 428.5 MB / 0.6727 GB, free: 4.887 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.8771 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/3.005e-05, allocations: 5.547 kB / 0.8771 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002516/0.002546, allocations: 1.703 MB / 0.8787 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008828/0.003429, allocations: 0.4937 MB / 0.8792 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.204e-05/0.003511, allocations: 4 kB / 0.8792 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.003545, allocations: 11.86 kB / 0.8792 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.353e-05/0.003639, allocations: 15.8 kB / 0.8792 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.003939, allocations: 47.88 kB / 0.8793 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.004093, allocations: 87.64 kB / 0.8794 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.004238, allocations: 16.23 kB / 0.8794 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.004416, allocations: 59.81 kB / 0.8794 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.004491, allocations: 37.7 kB / 0.8795 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.004514, allocations: 8 kB / 0.8795 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.497e-05/0.004559, allocations: 8 kB / 0.8795 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.00458, allocations: 19.92 kB / 0.8795 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.004615, allocations: 24.95 kB / 0.8795 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.004784, allocations: 95.66 kB / 0.8796 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004786, allocations: 4 kB / 0.8796 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.01e-07/0.004787, allocations: 1.594 kB / 0.8796 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.115e-06/0.00479, allocations: 0 / 0.8796 GB, free: 5.266 MB / 0.8386 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.0004014/0.005192, allocations: 325.9 kB / 0.8799 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.005235, allocations: 10.5 kB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.005393, allocations: 28.88 kB / 0.88 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.005613, allocations: 135.9 kB / 0.8801 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.005622, allocations: 4.375 kB / 0.8801 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.005636, allocations: 6.438 kB / 0.8801 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.005837, allocations: 117.6 kB / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.005846, allocations: 192 / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.005861, allocations: 384 / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.00587, allocations: 7.938 kB / 0.8802 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.005973, allocations: 44.69 kB / 0.8803 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.006376, allocations: 262 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.006502, allocations: 55.67 kB / 0.8806 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.006555, allocations: 24.94 kB / 0.8806 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.006572, allocations: 4 kB / 0.8806 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.006597, allocations: 34.66 kB / 0.8806 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.006598, allocations: 3.938 kB / 0.8806 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000275/0.006873, allocations: 97.66 kB / 0.8807 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.006923, allocations: 81.09 kB / 0.8808 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.975e-05/0.007023, allocations: 141.7 kB / 0.881 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.007036, allocations: 25.7 kB / 0.881 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.007102, allocations: 100.1 kB / 0.8811 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.007123, allocations: 15.83 kB / 0.8811 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.007155, allocations: 25.72 kB / 0.8811 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003243/0.007479, allocations: 318.8 kB / 0.8814 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.853e-05/0.007528, allocations: 19.98 kB / 0.8814 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.00759, allocations: 67.41 kB / 0.8815 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.134e-05/0.007682, allocations: 56.7 kB / 0.8816 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.007684, allocations: 0 / 0.8816 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001298/0.007814, allocations: 89.62 kB / 0.8816 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.007829, allocations: 8.031 kB / 0.8816 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.007837, allocations: 3.984 kB / 0.8817 GB, free: 3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.007853, allocations: 4 kB / 0.8817 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.007922, allocations: 4 kB / 0.8817 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.007929, allocations: 3.984 kB / 0.8817 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.007967, allocations: 11.98 kB / 0.8817 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.007975, allocations: 4 kB / 0.8817 GB, free: 2.973 MB / 0.8386 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 8.363e-05/0.008058, allocations: 125.7 kB / 0.8818 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.008077, allocations: 7.953 kB / 0.8818 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.008102, allocations: 12.34 kB / 0.8818 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008103, allocations: 4 kB / 0.8818 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.008108, allocations: 0 / 0.8818 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.008112, allocations: 0 / 0.8818 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.008223, allocations: 129.2 kB / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.008224, allocations: 0 / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.008252, allocations: 11.98 kB / 0.882 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.008254, allocations: 0 / 0.882 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.008263, allocations: 0 / 0.882 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.008264, allocations: 4.188 kB / 0.882 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008265, allocations: 4 kB / 0.882 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.008424, allocations: 191.5 kB / 0.8821 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.008435, allocations: 7.953 kB / 0.8822 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.00845, allocations: 0 / 0.8822 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.008501, allocations: 15.98 kB / 0.8822 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.008554, allocations: 7.969 kB / 0.8822 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.008557, allocations: 7.938 kB / 0.8822 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.787e-05/0.008605, allocations: 101.9 kB / 0.8823 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.008605, allocations: 0 / 0.8823 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001533/0.008758, allocations: 19.95 kB / 0.8823 GB, free: 2.277 MB / 0.8386 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 7.761e-05/0.008836, allocations: 107.2 kB / 0.8824 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.008989, allocations: 47.97 kB / 0.8824 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.00899, allocations: 0 / 0.8824 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.009035, allocations: 27.92 kB / 0.8825 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.009219, allocations: 11.94 kB / 0.8825 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.009532, allocations: 185 kB / 0.8827 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.918e-05/0.009591, allocations: 79.27 kB / 0.8827 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.009624, allocations: 4 kB / 0.8827 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.009659, allocations: 12.5 kB / 0.8828 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of SimCode: time 7.91e-07/0.009659, allocations: 4 kB / 0.8828 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of Templates: time 0.002595/0.01225, allocations: 0.9197 MB / 0.8837 GB, free: 0.8789 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=800 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 5.271257791668177]