Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001519/0.001519, 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.001608/0.001608, allocations: 214.2 kB / 23.07 MB, free: 4.844 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.393/1.393, allocations: 230.7 MB / 256.9 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.584/2.584, allocations: 476 MB / 0.7708 GB, free: 4.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/1.996e-05, allocations: 2.281 kB / 1.118 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003038/0.003058, allocations: 1.783 MB / 1.12 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.004115, allocations: 0.5449 MB / 1.12 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.004201, allocations: 11.34 kB / 1.12 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.004345, allocations: 25.67 kB / 1.12 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.368e-05/0.004428, allocations: 29.38 kB / 1.12 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.004632, allocations: 64.61 kB / 1.12 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.004884, allocations: 200.2 kB / 1.121 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.005026, allocations: 36.27 kB / 1.121 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.00514, allocations: 78.16 kB / 1.121 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.005282, allocations: 56.53 kB / 1.121 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.005309, allocations: 9.844 kB / 1.121 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.118e-05/0.00533, allocations: 14.62 kB / 1.121 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002407/0.005571, allocations: 285.9 kB / 1.121 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.000137/0.005708, allocations: 192.4 kB / 1.121 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.005735, allocations: 10.88 kB / 1.121 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.757e-05/0.005763, allocations: 12.31 kB / 1.121 GB, free: 6.719 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: 24 (24) * Number of variables: 24 (24) Notification: Performance of [SIM] Bindings: time 0.0009096/0.006672, allocations: 0.7389 MB / 1.122 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of [SIM] FunctionAlias: time 8.97e-05/0.006762, allocations: 68.53 kB / 1.122 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of [SIM] Early Inline: time 0.0002928/0.007055, allocations: 273.2 kB / 1.122 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of [SIM] Simplify 1: time 0.0001697/0.007224, allocations: 111.2 kB / 1.122 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of [SIM] Alias: time 0.0008979/0.008122, allocations: 0.5625 MB / 1.123 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of [SIM] Simplify 2: time 0.000115/0.008237, allocations: 85.28 kB / 1.123 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of [SIM] Remove Stream: time 5.799e-05/0.008295, allocations: 54.25 kB / 1.123 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of [SIM] Detect States: time 0.0002296/0.008525, allocations: 150.1 kB / 1.123 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of [SIM] Events: time 0.0001101/0.008635, allocations: 45.42 kB / 1.123 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of [SIM] Partitioning: time 0.0002116/0.008847, allocations: 166 kB / 1.123 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of [SIM] Causalize: time 0.0003348/0.009182, allocations: 226.2 kB / 1.124 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001938/0.009375, allocations: 201.9 kB / 1.124 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of [INI] Simplify: time 0.0003712/0.009746, allocations: 228.3 kB / 1.124 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of [INI] Inline: time 0.0002816/0.01003, allocations: 271 kB / 1.124 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of [INI] Partitioning: time 2.589e-05/0.01005, allocations: 15.03 kB / 1.124 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of [INI] Cleanup: time 4.944e-05/0.0101, allocations: 46.62 kB / 1.124 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of [INI] Causalize: time 0.0004089/0.01051, allocations: 298 kB / 1.125 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of [INI] Tearing: time 1.522e-05/0.01053, allocations: 11.78 kB / 1.125 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.01053, allocations: 0 / 1.125 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of [SIM] DAE-Mode: time 0.0001345/0.01066, allocations: 121.5 kB / 1.125 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of [SIM] Remove Dummies: time 5.721e-06/0.01067, allocations: 1.25 kB / 1.125 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of [SIM] Tearing: time 7.905e-06/0.01068, allocations: 16.91 kB / 1.125 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of [SIM] Categorize: time 1.016e-05/0.01069, allocations: 5.656 kB / 1.125 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of [SIM] Solve: time 0.0002598/0.01095, allocations: 182.5 kB / 1.125 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of [SIM] Jacobian: time 0.0005376/0.01148, allocations: 0.8516 MB / 1.126 GB, free: 2.926 MB / 0.8419 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 8.975e-05/0.01157, allocations: 25.5 kB / 1.126 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0007563/0.01233, allocations: 0.5827 MB / 1.126 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of Templates: time 0.003745/0.01607, allocations: 0.9986 MB / 1.127 GB, free: 2.395 MB / 0.8419 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.625727943028323] Failed to read output from testmodel.py, exit status != 0: 0.024032682995311916 0.037641326 0.029053762 Calling exit ...