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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001223/0.001223, allocations: 115.2 kB / 16.43 MB, free: 6.523 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.001346/0.001346, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.127/1.127, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.169/2.169, allocations: 472.6 MB / 0.7459 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.097e-05, allocations: 6.219 kB / 1.07 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.001939/0.001958, allocations: 1.561 MB / 1.072 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00058/0.002548, allocations: 450.8 kB / 1.072 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.002592, allocations: 7.938 kB / 1.072 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.002622, allocations: 7.938 kB / 1.072 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.002678, allocations: 11.81 kB / 1.072 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.002838, allocations: 31.95 kB / 1.072 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.002961, allocations: 75.83 kB / 1.072 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.361e-05/0.003053, allocations: 15.98 kB / 1.072 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.003141, allocations: 31.86 kB / 1.072 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.00321, allocations: 39.83 kB / 1.072 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.003232, allocations: 4 kB / 1.072 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.003251, allocations: 8 kB / 1.072 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of combineBinaries: time 7.275e-05/0.003327, allocations: 87.06 kB / 1.072 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.83e-05/0.00336, allocations: 47.22 kB / 1.072 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.003389, allocations: 8 kB / 1.072 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.286e-05/0.003406, allocations: 4 kB / 1.072 GB, free: 7.277 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.0003653/0.003776, allocations: 387.9 kB / 1.073 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 5.471e-05/0.003836, allocations: 31.88 kB / 1.073 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001823/0.004024, allocations: 220.2 kB / 1.073 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of simplify1: time 2.324e-05/0.004053, allocations: 11.97 kB / 1.073 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002803/0.004338, allocations: 209.1 kB / 1.073 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of simplify2: time 1.805e-05/0.004365, allocations: 19.95 kB / 1.073 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001369/0.004506, allocations: 108 kB / 1.073 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of Events: time 0.0001128/0.004626, allocations: 67.83 kB / 1.073 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001146/0.004747, allocations: 104.3 kB / 1.073 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of Causalize: time 0.000372/0.005126, allocations: 372.7 kB / 1.074 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002084/0.005342, allocations: 272.6 kB / 1.074 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of Inline: time 0.0002805/0.005628, allocations: 348.1 kB / 1.074 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.093e-05/0.005655, allocations: 20.12 kB / 1.074 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.339e-05/0.005683, allocations: 23.91 kB / 1.074 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of Causalize: time 0.000411/0.006098, allocations: 396.3 kB / 1.075 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of Tearing: time 8.046e-06/0.006114, allocations: 0 / 1.075 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of Initialization: time 1.613e-06/0.00612, allocations: 4 kB / 1.075 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of Tearing: time 3.376e-06/0.006127, allocations: 3.938 kB / 1.075 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of Categorize: time 6.993e-06/0.006139, allocations: 4 kB / 1.075 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of Solve: time 7.2e-05/0.006214, allocations: 43.95 kB / 1.075 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0001768/0.006398, allocations: 266 kB / 1.075 GB, free: 4.07 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.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 3.128e-05/0.006435, allocations: 29.08 kB / 1.075 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0005047/0.006944, allocations: 0.9348 MB / 1.076 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of Templates: time 0.002586/0.009542, allocations: 0.9488 MB / 1.077 GB, free: 2.137 MB / 0.8419 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)