Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 106.8 kB / 16.42 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 187.2 kB / 17.35 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.11/1.11, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.095/2.095, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.199e-05, allocations: 2.5 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.001921/0.001941, allocations: 1.572 MB / 1.056 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005837/0.002535, allocations: 450.9 kB / 1.057 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.002579, allocations: 0 / 1.057 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.00261, allocations: 3.938 kB / 1.057 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.355e-05/0.002668, allocations: 19.84 kB / 1.057 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.002833, allocations: 27.97 kB / 1.057 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.002941, allocations: 75.77 kB / 1.057 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.003022, allocations: 11.98 kB / 1.057 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.003108, allocations: 35.86 kB / 1.057 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.003173, allocations: 27.91 kB / 1.057 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.003196, allocations: 8 kB / 1.057 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.003213, allocations: 8 kB / 1.057 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.201e-05/0.003299, allocations: 94.98 kB / 1.057 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.087e-05/0.003325, allocations: 47.31 kB / 1.057 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.003352, allocations: 8 kB / 1.057 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.071e-05/0.003367, allocations: 0 / 1.057 GB, free: 5.312 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 (9) * Number of variables: 9 (9) Notification: Performance of Bindings: time 0.0003718/0.003743, allocations: 383.9 kB / 1.057 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 5.704e-05/0.003805, allocations: 31.8 kB / 1.057 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001749/0.003986, allocations: 224.2 kB / 1.058 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of simplify1: time 2.305e-05/0.004015, allocations: 15.98 kB / 1.058 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002738/0.004293, allocations: 209.1 kB / 1.058 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simplify2: time 1.622e-05/0.004318, allocations: 15.97 kB / 1.058 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of Events: time 0.0001247/0.004447, allocations: 79.81 kB / 1.058 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001432/0.004598, allocations: 132 kB / 1.058 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001072/0.004713, allocations: 106.7 kB / 1.058 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003708/0.00509, allocations: 357.9 kB / 1.058 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001952/0.005292, allocations: 264.5 kB / 1.059 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of Inline: time 0.0002745/0.005574, allocations: 345.9 kB / 1.059 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.873e-05/0.005611, allocations: 28.11 kB / 1.059 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of Cleanup: time 2.383e-05/0.005639, allocations: 27.91 kB / 1.059 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0004128/0.006056, allocations: 404.2 kB / 1.059 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of Tearing: time 5.901e-06/0.00607, allocations: 0 / 1.059 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of Initialization: time 3.9e-07/0.006075, allocations: 0 / 1.059 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of Tearing: time 3.076e-06/0.006081, allocations: 4 kB / 1.059 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of Categorize: time 8.065e-06/0.006093, allocations: 3.938 kB / 1.059 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of Solve: time 7.318e-05/0.00617, allocations: 47.94 kB / 1.06 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of Jacobian: time 0.0001821/0.006359, allocations: 254 kB / 1.06 GB, free: 2.09 MB / 0.8262 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * 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: ............................. 1 (1) {soc.SOC} * Number of discrete states: .................... 2 (2) {soc.discharged, soc.charged} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {soc.suspend, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 14 (scalar:14, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * 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: ........... 19 (scalar:19, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.936e-05/0.006396, allocations: 20.44 kB / 1.06 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005018/0.006902, allocations: 0.9246 MB / 1.061 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of Templates: time 0.002647/0.009558, allocations: 0.9565 MB / 1.062 GB, free: 172 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1)