Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.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.001843/0.001843, allocations: 80.88 kB / 21.56 MB, free: 2.934 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.001915/0.001915, allocations: 162.1 kB / 24.97 MB, free: 8.672 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 1.705/1.705, allocations: 177.1 MB / 205.4 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 178] 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 3.364/3.364, allocations: 389.5 MB / 0.6361 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 176] 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.BatteryControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.76e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.004666/0.004694, allocations: 2.352 MB / 0.7782 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002281/0.006975, allocations: 1.02 MB / 0.7792 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.007138, allocations: 12.47 kB / 0.7792 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.007351, allocations: 58.64 kB / 0.7793 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.007617, allocations: 60.83 kB / 0.7794 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007328/0.00835, allocations: 307.4 kB / 0.7796 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009461/0.009296, allocations: 0.746 MB / 0.7804 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006657/0.009962, allocations: 424 kB / 0.7808 GB, free: 456 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005831/0.01054, allocations: 419.3 kB / 0.7812 GB, free: 36 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.01088, allocations: 195.5 kB / 0.7814 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.01098, allocations: 65.41 kB / 0.7814 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.01117, allocations: 91.92 kB / 0.7815 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of combineBinaries: time 0.000703/0.01188, allocations: 0.7142 MB / 0.7822 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of replaceArrayConstructors: time 0.0003331/0.01221, allocations: 404.5 kB / 0.7826 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.01227, allocations: 32.59 kB / 0.7826 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.0001324/0.0124, allocations: 80.75 kB / 0.7827 GB, free: 14.46 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: 128 (125) * Number of variables: 128 (122) Notification: Performance of [SIM] Bindings: time 0.002918/0.01532, allocations: 2.114 MB / 0.7848 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of [SIM] FunctionAlias: time 0.0006091/0.01593, allocations: 433.3 kB / 0.7852 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of [SIM] Early Inline: time 0.003001/0.01893, allocations: 2.436 MB / 0.7876 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of [SIM] Simplify 1: time 0.0005678/0.0195, allocations: 296 kB / 0.7878 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of [SIM] Alias: time 0.004048/0.02355, allocations: 2.509 MB / 0.7903 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of [SIM] Simplify 2: time 0.0003689/0.02392, allocations: 219.9 kB / 0.7905 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of [SIM] Remove Stream: time 0.0002282/0.02415, allocations: 170 kB / 0.7907 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of [SIM] Detect States: time 0.0008782/0.02502, allocations: 0.5883 MB / 0.7912 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of [SIM] Events: time 0.0004189/0.02544, allocations: 242.3 kB / 0.7915 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of [SIM] Partitioning: time 0.001066/0.02651, allocations: 0.6944 MB / 0.7922 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of [SIM] Causalize: time 0.001798/0.02831, allocations: 1.091 MB / 0.7932 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001435/0.02974, allocations: 1.269 MB / 0.7945 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of [INI] Simplify: time 0.001011/0.03075, allocations: 0.5177 MB / 0.795 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of [INI] Inline: time 0.002866/0.03362, allocations: 2.334 MB / 0.7972 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of [INI] Partitioning: time 9.733e-05/0.03372, allocations: 47.92 kB / 0.7973 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of [INI] Cleanup: time 0.0003623/0.03408, allocations: 334.2 kB / 0.7976 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of [INI] Causalize: time 0.00391/0.03799, allocations: 2.366 MB / 0.7999 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of [INI] Tearing: time 5.358e-05/0.03804, allocations: 60 kB / 0.8 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of [SIM] Initialization: time 1.603e-06/0.03804, allocations: 0 / 0.8 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of [SIM] Remove Dummies: time 1.229e-05/0.03806, allocations: 1 kB / 0.8 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of [SIM] Tearing: time 3.939e-05/0.03809, allocations: 44 kB / 0.8 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of [SIM] Categorize: time 1.5e-05/0.03811, allocations: 7.938 kB / 0.8 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of [SIM] Solve: time 0.0011/0.03921, allocations: 0.5951 MB / 0.8006 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of [SIM] Jacobian: time 9.758e-06/0.03922, allocations: 0 / 0.8006 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.81e-07/0.03922, allocations: 0 / 0.8006 GB, free: 11.46 MB / 0.7605 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {con.t2.t_start, con.t1.t_start} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 77 (72) {con.lessThreshold.y, con.not1.u, con.greaterThreshold.y, con.multiSwitch1.u, con.multiSwitch1.firstActiveIndex, con.off.active, con.off.localActive, con.off.inPort.occupied, con.off.inPort.set, con.off.outPort.available, con.off.outPort.reset, con.off.newActive, con.stateGraphRoot.activeSteps, con.alternative.inPort.available, con.alternative.inPort.reset, con.alternative.outPort.occupied, con.alternative.outPort.set, con.alternative.join.occupied, con.alternative.join.set, con.alternative.split.available, con.alternative.split.reset, con.t1.localCondition, con.t1.enableFire, con.t1.fire, con.t1.inPort.available, con.t1.outPort.occupied, con.t2.localCondition, con.t2.enableFire, con.t2.fire, con.t2.inPort.available, con.t2.outPort.occupied, con.charge.localActive, con.charge.inPort.occupied, con.charge.inPort.set, con.charge.outPort.available, con.charge.outPort.reset, con.charge.newActive, con.charge.active, con.discharge.localActive, con.discharge.inPort.occupied, con.discharge.inPort.set, con.discharge.outPort.available, con.discharge.outPort.reset, con.discharge.newActive, con.discharge.active, con.t3.localCondition, con.t3.enableFire, con.t3.fire, con.t3.inPort.available, con.t3.outPort.occupied, con.t4.localCondition, con.t4.enableFire, con.t4.fire, con.t4.inPort.available, con.t4.outPort.occupied, $FUN_2, $FUN_3, $FUN_6, $FUN_7, $FUN_8, $FUN_9, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 81 (scalar:81, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 1, generic: 0, entwined:1) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 102 (scalar:101, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 1, generic: 0, entwined:1) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001096/0.03933, allocations: 85.06 kB / 0.8007 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of SimCode: time 0.002009/0.04134, allocations: 1.023 MB / 0.8017 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of Templates: time 0.01248/0.05381, allocations: 4.553 MB / 0.8061 GB, free: 5.82 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.319617952220142]