Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001475/0.001475, 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.001759/0.001759, allocations: 217.7 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.512/1.512, allocations: 230.7 MB / 256.9 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.295/3.295, allocations: 0.5108 GB / 0.8167 GB, free: 17.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/1.94e-05, allocations: 4.812 kB / 1.187 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.00267/0.002689, allocations: 1.788 MB / 1.189 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.003634, allocations: 0.5488 MB / 1.189 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.345e-05/0.003727, allocations: 6.5 kB / 1.189 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.00386, allocations: 25.7 kB / 1.189 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.351e-05/0.003934, allocations: 26.23 kB / 1.189 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.004136, allocations: 68.12 kB / 1.19 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.004351, allocations: 213.2 kB / 1.19 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.004489, allocations: 39.78 kB / 1.19 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.004592, allocations: 78.22 kB / 1.19 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.213e-05/0.004674, allocations: 49.45 kB / 1.19 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.004701, allocations: 9.719 kB / 1.19 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.296e-05/0.004724, allocations: 13.84 kB / 1.19 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001783/0.004902, allocations: 283.3 kB / 1.19 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 7.366e-05/0.004976, allocations: 196.5 kB / 1.19 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.005004, allocations: 10.12 kB / 1.19 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.517e-05/0.005029, allocations: 11.94 kB / 1.19 GB, free: 11.23 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.0006512/0.005681, allocations: 0.7391 MB / 1.191 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.717e-05/0.005758, allocations: 68.97 kB / 1.191 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002314/0.005989, allocations: 276.8 kB / 1.191 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001289/0.006118, allocations: 98.67 kB / 1.192 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0008054/0.006923, allocations: 0.5709 MB / 1.192 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 8.084e-05/0.007004, allocations: 87.81 kB / 1.192 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 4.074e-05/0.007045, allocations: 55.78 kB / 1.192 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001837/0.007229, allocations: 142.9 kB / 1.192 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.000102/0.007331, allocations: 45.83 kB / 1.192 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001631/0.007494, allocations: 170.6 kB / 1.193 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002827/0.007776, allocations: 220.1 kB / 1.193 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001668/0.007943, allocations: 194 kB / 1.193 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003461/0.008289, allocations: 235.6 kB / 1.193 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002707/0.00856, allocations: 272.3 kB / 1.193 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.996e-05/0.00858, allocations: 13.47 kB / 1.193 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.051e-05/0.00863, allocations: 58.86 kB / 1.194 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004842/0.009115, allocations: 284.1 kB / 1.194 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.037e-05/0.009135, allocations: 16.03 kB / 1.194 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.009135, allocations: 0 / 1.194 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 0.0001175/0.009253, allocations: 119.1 kB / 1.194 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 6.743e-06/0.00926, allocations: 0.9688 kB / 1.194 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 7.814e-06/0.009267, allocations: 12.88 kB / 1.194 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.085e-05/0.009278, allocations: 5.047 kB / 1.194 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002642/0.009542, allocations: 181.6 kB / 1.194 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0002715/0.009814, allocations: 0.8516 MB / 1.195 GB, free: 7.449 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 9.143e-05/0.009905, allocations: 19.53 kB / 1.195 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000726/0.01063, allocations: 0.5897 MB / 1.196 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of Templates: time 0.004134/0.01477, allocations: 1.006 MB / 1.197 GB, free: 6.91 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 8.679922908951994] Failed to read output from testmodel.py, exit status != 0: 0.021811288024764508 0.033786678 0.026139808 Calling exit ...