Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001468/0.001468, 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.001531/0.001531, allocations: 218.9 kB / 23.07 MB, free: 4.98 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.323/1.323, allocations: 230.7 MB / 256.9 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002394/0.002394, allocations: 288.2 kB / 313.6 MB, free: 2.582 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.158/1.158, allocations: 180.7 MB / 0.5378 GB, free: 14.59 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.366e-05, allocations: 2.281 kB / 0.7408 GB, free: 27.76 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.00211/0.002124, allocations: 1.814 MB / 0.7426 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007742/0.002898, allocations: 0.5419 MB / 0.7431 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.002975, allocations: 10.66 kB / 0.7431 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.003084, allocations: 25.56 kB / 0.7431 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.033e-05/0.003145, allocations: 29.66 kB / 0.7431 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.0033, allocations: 68.64 kB / 0.7432 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.003457, allocations: 205 kB / 0.7434 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.00357, allocations: 35.36 kB / 0.7434 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.003651, allocations: 76.58 kB / 0.7435 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.003713, allocations: 59.53 kB / 0.7436 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.003735, allocations: 10.62 kB / 0.7436 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.9e-05/0.003754, allocations: 10.09 kB / 0.7436 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0001268/0.003881, allocations: 286 kB / 0.7439 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 5.39e-05/0.003935, allocations: 195.9 kB / 0.7441 GB, free: 25.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.00397, allocations: 10.5 kB / 0.7441 GB, free: 25.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.071e-05/0.003991, allocations: 6.953 kB / 0.7441 GB, free: 25.55 MB / 0.5294 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.0005038/0.004494, allocations: 0.7393 MB / 0.7448 GB, free: 24.92 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 5.859e-05/0.004553, allocations: 77.86 kB / 0.7449 GB, free: 24.86 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0001658/0.004719, allocations: 276.1 kB / 0.7451 GB, free: 24.68 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 9.858e-05/0.004817, allocations: 103.8 kB / 0.7452 GB, free: 24.57 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0005567/0.005374, allocations: 0.5603 MB / 0.7458 GB, free: 24.16 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 5.413e-05/0.005428, allocations: 86.45 kB / 0.7459 GB, free: 24.06 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 2.705e-05/0.005455, allocations: 54.64 kB / 0.7459 GB, free: 24 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0001292/0.005584, allocations: 151.9 kB / 0.7461 GB, free: 23.84 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 7.882e-05/0.005663, allocations: 55.91 kB / 0.7461 GB, free: 23.8 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0001169/0.00578, allocations: 151.2 kB / 0.7463 GB, free: 23.66 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0002095/0.00599, allocations: 234.4 kB / 0.7465 GB, free: 23.51 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000105/0.006095, allocations: 190.8 kB / 0.7467 GB, free: 23.41 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.000233/0.006328, allocations: 238.1 kB / 0.7469 GB, free: 23.2 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.0001512/0.006479, allocations: 276.4 kB / 0.7471 GB, free: 23.05 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 1.427e-05/0.006493, allocations: 14.44 kB / 0.7472 GB, free: 23.04 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 2.521e-05/0.006518, allocations: 41.58 kB / 0.7472 GB, free: 23.01 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0002925/0.006811, allocations: 292.4 kB / 0.7475 GB, free: 22.94 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 1.095e-05/0.006822, allocations: 17.06 kB / 0.7475 GB, free: 22.93 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 3.41e-07/0.006822, allocations: 0 / 0.7475 GB, free: 22.93 MB / 0.5294 GB Notification: Performance of [SIM] DAE-Mode: time 7.039e-05/0.006893, allocations: 112.4 kB / 0.7476 GB, free: 22.8 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 5.28e-06/0.006898, allocations: 6.531 kB / 0.7476 GB, free: 22.79 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 4.909e-06/0.006903, allocations: 10.62 kB / 0.7476 GB, free: 22.79 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 7.153e-06/0.00691, allocations: 2.594 kB / 0.7476 GB, free: 22.79 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.0001776/0.007088, allocations: 185.7 kB / 0.7478 GB, free: 22.72 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.0001891/0.007277, allocations: 0.8457 MB / 0.7486 GB, free: 21.76 MB / 0.5294 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 4.932e-05/0.007326, allocations: 42.72 kB / 0.7487 GB, free: 21.73 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0004586/0.007785, allocations: 0.5818 MB / 0.7492 GB, free: 21.36 MB / 0.5294 GB Notification: Performance of Templates: time 0.003075/0.01086, allocations: 0.9981 MB / 0.7502 GB, free: 21.21 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.409888397960458] Failed to read output from testmodel.py, exit status != 0: 0.0160229469765909 0.026316169 0.020002229 Calling exit ...