Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001152/0.001152, allocations: 110.5 kB / 16.43 MB, free: 6.008 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.001147/0.001147, allocations: 181.9 kB / 17.36 MB, free: 5.574 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.19/1.19, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.312/2.312, allocations: 469.8 MB / 0.7432 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/1.996e-05, allocations: 2.281 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.002136/0.002164, allocations: 1.57 MB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006231/0.002799, allocations: 446.9 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.00285, allocations: 0 / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.002882, allocations: 3.938 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.002937, allocations: 11.88 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.0031, allocations: 31.95 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.003215, allocations: 83.7 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.003308, allocations: 8 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.003398, allocations: 39.89 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.003465, allocations: 23.92 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.003489, allocations: 4 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.003509, allocations: 8 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of combineBinaries: time 8.525e-05/0.003598, allocations: 94.98 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.537e-05/0.003638, allocations: 59.2 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.003667, allocations: 8 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.133e-05/0.003682, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 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.0003778/0.004064, allocations: 331.9 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 6.857e-05/0.004138, allocations: 23.88 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001513/0.004295, allocations: 168.2 kB / 1.069 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simplify1: time 6.209e-05/0.004365, allocations: 60.34 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002603/0.004631, allocations: 156.8 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simplify2: time 4.351e-05/0.004683, allocations: 56.72 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001372/0.004825, allocations: 90.64 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of Events: time 0.0001109/0.004944, allocations: 71.8 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of Partitioning: time 9.661e-05/0.005048, allocations: 96.27 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003353/0.00539, allocations: 289.1 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001678/0.005566, allocations: 208.2 kB / 1.07 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of Inline: time 0.0002373/0.005809, allocations: 265.4 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.748e-05/0.005833, allocations: 20.31 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.863e-05/0.005876, allocations: 55.86 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003528/0.006233, allocations: 308.5 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of Tearing: time 8.837e-06/0.00625, allocations: 3.984 kB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of Initialization: time 2.91e-07/0.006255, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of Tearing: time 1.503e-06/0.00626, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of Categorize: time 7.705e-06/0.006273, allocations: 7.938 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of Solve: time 7.932e-05/0.006356, allocations: 31.97 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.000167/0.006531, allocations: 238 kB / 1.071 GB, free: 8.395 MB / 0.8419 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.charged, soc.discharged} * 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 3.478e-05/0.006573, allocations: 27.59 kB / 1.071 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0005211/0.007098, allocations: 0.927 MB / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of Templates: time 0.002654/0.009762, allocations: 0.9487 MB / 1.072 GB, free: 6.469 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1)