Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.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.00158/0.00158, allocations: 104.3 kB / 19.77 MB, free: 2.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.001767/0.001767, allocations: 216.1 kB / 23.07 MB, free: 4.848 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.397/1.397, allocations: 230.7 MB / 256.9 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.99/2.99, allocations: 0.4893 GB / 0.7952 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator") translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/1.895e-05, allocations: 2.281 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002654/0.002673, allocations: 1.77 MB / 1.156 GB, free: 24.32 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003769, allocations: 0.6829 MB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.003863, allocations: 7.312 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.003994, allocations: 29.28 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.00406, allocations: 28.2 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.004688, allocations: 262 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.005115, allocations: 445.3 kB / 1.158 GB, free: 23.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.005392, allocations: 192.8 kB / 1.158 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.005565, allocations: 171.4 kB / 1.158 GB, free: 23.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.005741, allocations: 134.4 kB / 1.158 GB, free: 23.24 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/0.005807, allocations: 43.03 kB / 1.158 GB, free: 23.24 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.005918, allocations: 54.61 kB / 1.158 GB, free: 23.24 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0003022/0.00622, allocations: 0.4942 MB / 1.159 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001135/0.006333, allocations: 265.8 kB / 1.159 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.006386, allocations: 20.34 kB / 1.159 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.42e-05/0.00644, allocations: 40.28 kB / 1.159 GB, free: 22.68 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 (60) * Number of variables: 60 (60) Notification: Performance of [SIM] Bindings: time 0.001096/0.007536, allocations: 1.24 MB / 1.16 GB, free: 21.77 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001711/0.007708, allocations: 197.6 kB / 1.16 GB, free: 21.64 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0009311/0.008639, allocations: 1.104 MB / 1.161 GB, free: 20.95 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002993/0.008938, allocations: 244.5 kB / 1.162 GB, free: 20.8 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001542/0.01048, allocations: 1.228 MB / 1.163 GB, free: 20.07 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.00024/0.01072, allocations: 211.1 kB / 1.163 GB, free: 19.94 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001591/0.01088, allocations: 176.3 kB / 1.163 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003951/0.01127, allocations: 360.3 kB / 1.164 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001402/0.01141, allocations: 88.64 kB / 1.164 GB, free: 19.48 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0003077/0.01172, allocations: 257.5 kB / 1.164 GB, free: 19.36 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0009139/0.01264, allocations: 0.6975 MB / 1.165 GB, free: 19.19 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005397/0.01318, allocations: 0.6517 MB / 1.165 GB, free: 18.83 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005348/0.01371, allocations: 414.5 kB / 1.166 GB, free: 18.56 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0007828/0.01449, allocations: 0.9538 MB / 1.166 GB, free: 17.99 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 4.095e-05/0.01453, allocations: 31.05 kB / 1.167 GB, free: 17.96 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001151/0.01465, allocations: 151.7 kB / 1.167 GB, free: 17.87 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001976/0.01663, allocations: 1.513 MB / 1.168 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.299e-05/0.01665, allocations: 31.75 kB / 1.168 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.443e-06/0.01665, allocations: 4 kB / 1.168 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 9.7e-05/0.01675, allocations: 51.44 kB / 1.168 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.889e-06/0.01675, allocations: 0.5 kB / 1.168 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.192e-05/0.01676, allocations: 32.41 kB / 1.168 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 9.588e-06/0.01677, allocations: 2.859 kB / 1.168 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0005039/0.01728, allocations: 375.5 kB / 1.169 GB, free: 17.29 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001189/0.0174, allocations: 200.6 kB / 1.169 GB, free: 17.09 MB / 0.9044 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: .................... 3 (3) {sta.onToOff.t_start, sta.offToOn.t_start, y1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 37 (37) {sta.y1_actual, sta.stateGraphRoot.activeSteps, sta.off.localActive, sta.off.inPort.occupied, sta.off.inPort.set, sta.off.outPort.available, sta.off.outPort.reset, sta.off.newActive, sta.off.active, sta.offToOn.enableFire, sta.offToOn.fire, sta.offToOn.inPort.available, sta.offToOn.outPort.occupied, sta.on.localActive, sta.on.inPort.occupied, sta.on.inPort.set, sta.on.outPort.available, sta.on.outPort.reset, sta.on.newActive, sta.onToOff.enableFire, sta.onToOff.fire, sta.onToOff.inPort.available, sta.onToOff.outPort.occupied, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $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: ........... 44 (scalar:44, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 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: ........... 57 (scalar:57, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001154/0.01751, allocations: 61.22 kB / 1.169 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001242/0.01875, allocations: 0.894 MB / 1.17 GB, free: 16.59 MB / 0.9044 GB Notification: Performance of Templates: time 0.00615/0.0249, allocations: 2.607 MB / 1.172 GB, free: 16.27 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 8.274616341048386] Failed to read output from testmodel.py, exit status != 0: 0.03168424597242847 0.043363427 0.034481932 Calling exit ...