Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.001483/0.001483, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.002239/0.002239, allocations: 218.5 kB / 23.07 MB, free: 4.984 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.552/1.552, allocations: 230.7 MB / 256.9 MB, free: 7.754 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 3.355/3.355, allocations: 0.4893 GB / 0.7952 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.476e-05/3.476e-05, allocations: 4.25 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.004324/0.004359, allocations: 1.783 MB / 1.156 GB, free: 24.33 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.005616, allocations: 0.5503 MB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.005738, allocations: 7 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.005888, allocations: 23.02 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.005968, allocations: 31.64 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.006192, allocations: 68.12 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.006439, allocations: 199.6 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.006606, allocations: 46.66 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.006711, allocations: 75.11 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.006804, allocations: 56.22 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.006832, allocations: 7.406 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.006856, allocations: 10.44 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002001/0.007056, allocations: 288.7 kB / 1.157 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 9.719e-05/0.007153, allocations: 195.8 kB / 1.158 GB, free: 23.36 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.007189, allocations: 10.16 kB / 1.158 GB, free: 23.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.284e-05/0.007221, allocations: 8.344 kB / 1.158 GB, free: 23.36 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: 24 (24) * Number of variables: 24 (24) Notification: Performance of [SIM] Bindings: time 0.0007931/0.008015, allocations: 0.7384 MB / 1.158 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 9.71e-05/0.008112, allocations: 70.7 kB / 1.158 GB, free: 22.69 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.000262/0.008374, allocations: 276 kB / 1.159 GB, free: 22.5 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001458/0.008519, allocations: 97.81 kB / 1.159 GB, free: 22.4 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001022/0.009541, allocations: 0.5766 MB / 1.159 GB, free: 21.98 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 8.76e-05/0.009629, allocations: 81.03 kB / 1.159 GB, free: 21.89 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 4.975e-05/0.009678, allocations: 50.44 kB / 1.16 GB, free: 21.82 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002485/0.009927, allocations: 152.2 kB / 1.16 GB, free: 21.67 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001396/0.01007, allocations: 47.75 kB / 1.16 GB, free: 21.64 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001906/0.01026, allocations: 164.1 kB / 1.16 GB, free: 21.49 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003668/0.01062, allocations: 229 kB / 1.16 GB, free: 21.34 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002038/0.01083, allocations: 194.7 kB / 1.16 GB, free: 21.25 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0004473/0.01127, allocations: 233.2 kB / 1.16 GB, free: 21.04 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003133/0.01159, allocations: 283.1 kB / 1.161 GB, free: 20.89 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.346e-05/0.01161, allocations: 13.31 kB / 1.161 GB, free: 20.87 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.14e-05/0.01166, allocations: 47.05 kB / 1.161 GB, free: 20.84 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0005128/0.01218, allocations: 283.8 kB / 1.161 GB, free: 20.77 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.643e-05/0.01219, allocations: 15.41 kB / 1.161 GB, free: 20.76 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.41e-07/0.01219, allocations: 0 / 1.161 GB, free: 20.76 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 0.000131/0.01232, allocations: 118.1 kB / 1.161 GB, free: 20.63 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 8.727e-06/0.01233, allocations: 5.438 kB / 1.161 GB, free: 20.62 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 8.576e-06/0.01234, allocations: 9.25 kB / 1.161 GB, free: 20.62 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.589e-05/0.01236, allocations: 5.125 kB / 1.161 GB, free: 20.62 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0003018/0.01266, allocations: 184.9 kB / 1.161 GB, free: 20.55 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0003635/0.01302, allocations: 0.8472 MB / 1.162 GB, free: 19.59 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 4 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: ............................. 4 (4) {intWitRes1.y, intWitRes2.y, intNoReset.y, intDef.y} * Number of discrete states: .................... 1 (1) {booleanPulse.pulseStart} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {booleanPulse.y, sampleTrigger.y, $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: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 24 (scalar:24, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001472/0.01317, allocations: 33.78 kB / 1.162 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008734/0.01404, allocations: 0.5943 MB / 1.163 GB, free: 19.17 MB / 0.9044 GB Notification: Performance of Templates: time 0.004706/0.01875, allocations: 1.005 MB / 1.164 GB, free: 19.02 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 9.187484776950441] Failed to read output from testmodel.py, exit status != 0: 0.028184056980535388 0.041956348000000004 0.031686940000000004 Calling exit ...