Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001368/0.001368, allocations: 88.33 kB / 20.22 MB, free: 1.051 MB / 14.72 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.00166/0.00166, allocations: 164.2 kB / 23.53 MB, free: 3.855 MB / 14.72 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.503/1.503, allocations: 177.1 MB / 203.9 MB, free: 8.129 MB / 190.1 MB " [Timeout remaining time 178] 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 3.386/3.386, allocations: 428.5 MB / 0.6727 GB, free: 9.691 MB / 0.6387 GB " [Timeout remaining time 176] 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.BatteryControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.SOC|con.y|con.isDay.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.SOC|con.y|con.isDay.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.906e-05/3.906e-05, allocations: 3.078 kB / 0.877 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl): time 0.005124/0.005163, allocations: 2.262 MB / 0.8792 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.007284, allocations: 0.9807 MB / 0.8802 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.007453, allocations: 11.94 kB / 0.8802 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.007676, allocations: 63.28 kB / 0.8803 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.007953, allocations: 56.08 kB / 0.8803 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.008707, allocations: 304.6 kB / 0.8806 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009105/0.009617, allocations: 0.7368 MB / 0.8813 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/0.01037, allocations: 420.7 kB / 0.8817 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006066/0.01098, allocations: 428.1 kB / 0.8821 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.01128, allocations: 191.5 kB / 0.8823 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.01138, allocations: 72.75 kB / 0.8824 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.01154, allocations: 87.98 kB / 0.8825 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of combineBinaries: time 0.0007335/0.01228, allocations: 0.8023 MB / 0.8833 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of replaceArrayConstructors: time 0.000355/0.01263, allocations: 461.8 kB / 0.8837 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.01271, allocations: 33.22 kB / 0.8837 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of FrontEnd: time 0.0001487/0.01285, allocations: 75.53 kB / 0.8838 GB, free: 4.172 MB / 0.7794 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.002573/0.01543, allocations: 2.08 MB / 0.8858 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of [SIM] FunctionAlias: time 0.000631/0.01606, allocations: 443.8 kB / 0.8863 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of [SIM] Early Inline: time 0.002683/0.01874, allocations: 2.304 MB / 0.8885 GB, free: 15.18 MB / 0.795 GB Notification: Performance of [SIM] Simplify 1: time 0.0005025/0.01924, allocations: 265.8 kB / 0.8888 GB, free: 14.86 MB / 0.795 GB Notification: Performance of [SIM] Alias: time 0.003783/0.02303, allocations: 2.345 MB / 0.8911 GB, free: 12.26 MB / 0.795 GB Notification: Performance of [SIM] Simplify 2: time 0.0003949/0.02342, allocations: 197.5 kB / 0.8912 GB, free: 12.02 MB / 0.795 GB Notification: Performance of [SIM] Remove Stream: time 0.0002047/0.02363, allocations: 161 kB / 0.8914 GB, free: 11.84 MB / 0.795 GB Notification: Performance of [SIM] Detect States: time 0.000795/0.02442, allocations: 0.5305 MB / 0.8919 GB, free: 11.25 MB / 0.795 GB Notification: Performance of [SIM] Events: time 0.0003269/0.02475, allocations: 211 kB / 0.8921 GB, free: 11.05 MB / 0.795 GB Notification: Performance of [SIM] Partitioning: time 0.001012/0.02576, allocations: 0.687 MB / 0.8928 GB, free: 10.32 MB / 0.795 GB Notification: Performance of [SIM] Causalize: time 0.002416/0.02818, allocations: 1.477 MB / 0.8942 GB, free: 8.828 MB / 0.795 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001267/0.02944, allocations: 1.121 MB / 0.8953 GB, free: 7.707 MB / 0.795 GB Notification: Performance of [INI] Simplify: time 0.0007203/0.03016, allocations: 404.8 kB / 0.8957 GB, free: 7.262 MB / 0.795 GB Notification: Performance of [INI] Inline: time 0.002319/0.03248, allocations: 2.104 MB / 0.8978 GB, free: 5.152 MB / 0.795 GB Notification: Performance of [INI] Partitioning: time 8.401e-05/0.03257, allocations: 45.42 kB / 0.8978 GB, free: 5.102 MB / 0.795 GB Notification: Performance of [INI] Cleanup: time 0.0003258/0.03289, allocations: 323.8 kB / 0.8981 GB, free: 4.785 MB / 0.795 GB Notification: Performance of [INI] Causalize: time 0.004735/0.03763, allocations: 2.993 MB / 0.901 GB, free: 1.785 MB / 0.795 GB Notification: Performance of [INI] Tearing: time 5.441e-05/0.03768, allocations: 66.38 kB / 0.9011 GB, free: 1.723 MB / 0.795 GB Notification: Performance of [SIM] Initialization: time 9.12e-07/0.03768, allocations: 0 / 0.9011 GB, free: 1.723 MB / 0.795 GB Notification: Performance of [SIM] Remove Dummies: time 1.488e-05/0.0377, allocations: 1 kB / 0.9011 GB, free: 1.723 MB / 0.795 GB Notification: Performance of [SIM] Tearing: time 3.226e-05/0.03773, allocations: 44 kB / 0.9011 GB, free: 1.68 MB / 0.795 GB Notification: Performance of [SIM] Categorize: time 2.088e-05/0.03775, allocations: 4 kB / 0.9011 GB, free: 1.676 MB / 0.795 GB Notification: Performance of [SIM] Solve: time 0.001056/0.03881, allocations: 0.5788 MB / 0.9017 GB, free: 1.098 MB / 0.795 GB Notification: Performance of [SIM] Jacobian: time 1.412e-05/0.03882, allocations: 1.531 kB / 0.9017 GB, free: 1.098 MB / 0.795 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.51e-07/0.03882, allocations: 4 kB / 0.9017 GB, free: 1.094 MB / 0.795 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: ......... 2 * 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: ................. 78 (73) {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_3, $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: ........... 83 (scalar:83, 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: ........... 103 (scalar:102, 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.0001897/0.03901, allocations: 78.48 kB / 0.9018 GB, free: 1.027 MB / 0.795 GB Notification: Performance of SimCode: time 0.003372/0.04238, allocations: 2.243 MB / 0.904 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of Templates: time 0.01044/0.05283, allocations: 3.97 MB / 0.9079 GB, free: 10.88 MB / 0.8106 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 9.055486883968115]