Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.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.001398/0.001398, allocations: 85.94 kB / 19.96 MB, free: 1.941 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.001581/0.001581, allocations: 163.4 kB / 23.23 MB, free: 4.969 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.407/1.407, allocations: 177.2 MB / 203.6 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.213/1.213, allocations: 154.7 MB / 414.7 MB, free: 5.184 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.709e-05, allocations: 2.281 kB / 0.6195 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001674/0.001691, allocations: 0.662 MB / 0.6202 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.003448, allocations: 1.227 MB / 0.6214 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.003491, allocations: 4 kB / 0.6214 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.003524, allocations: 3.938 kB / 0.6214 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.795e-05/0.003592, allocations: 11.86 kB / 0.6214 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.004268, allocations: 226.3 kB / 0.6216 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.004536, allocations: 187.7 kB / 0.6218 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.507e-05/0.004621, allocations: 4 kB / 0.6218 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.004777, allocations: 107.8 kB / 0.6219 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.004894, allocations: 51.84 kB / 0.6219 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.004936, allocations: 16 kB / 0.622 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.703e-05/0.005013, allocations: 28 kB / 0.622 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0001876/0.005201, allocations: 163.1 kB / 0.6221 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 3.625e-05/0.005237, allocations: 47.31 kB / 0.6222 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.005274, allocations: 12 kB / 0.6222 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-05/0.005284, allocations: 0 / 0.6222 GB, free: 1.828 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0008175/0.006101, allocations: 0.5705 MB / 0.6227 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 7.715e-05/0.006179, allocations: 52.02 kB / 0.6228 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0004176/0.006596, allocations: 380.1 kB / 0.6232 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0002454/0.006842, allocations: 180.6 kB / 0.6233 GB, free: 464 kB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0005818/0.007423, allocations: 336.6 kB / 0.6237 GB, free: 60 kB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.0002359/0.007659, allocations: 176.6 kB / 0.6238 GB, free: 15.84 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.0001798/0.007839, allocations: 148.3 kB / 0.624 GB, free: 15.67 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.000394/0.008233, allocations: 273 kB / 0.6242 GB, free: 15.34 MB / 0.545 GB Notification: Performance of [SIM] Events: time 7.107e-05/0.008304, allocations: 27.94 kB / 0.6242 GB, free: 15.31 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.0001753/0.00848, allocations: 116.4 kB / 0.6244 GB, free: 15.16 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.0001771/0.008657, allocations: 92.06 kB / 0.6244 GB, free: 15.06 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003912/0.009048, allocations: 363.7 kB / 0.6248 GB, free: 14.71 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.0004552/0.009503, allocations: 316.5 kB / 0.6251 GB, free: 14.33 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.000415/0.009918, allocations: 379.7 kB / 0.6255 GB, free: 13.95 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 2.089e-05/0.009939, allocations: 16.12 kB / 0.6255 GB, free: 13.93 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.0001552/0.01009, allocations: 115.9 kB / 0.6256 GB, free: 13.82 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.0003416/0.01044, allocations: 199.6 kB / 0.6258 GB, free: 13.61 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 1.095e-05/0.01045, allocations: 4 kB / 0.6258 GB, free: 13.61 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 2.475e-06/0.01045, allocations: 4 kB / 0.6258 GB, free: 13.61 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 3.306e-06/0.01045, allocations: 0 / 0.6258 GB, free: 13.61 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 1.243e-06/0.01045, allocations: 0 / 0.6258 GB, free: 13.61 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 8.146e-06/0.01046, allocations: 4 kB / 0.6258 GB, free: 13.6 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 7.927e-05/0.01054, allocations: 43.97 kB / 0.6258 GB, free: 13.56 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 5.881e-06/0.01055, allocations: 0 / 0.6258 GB, free: 13.56 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.9e-07/0.01055, allocations: 0 / 0.6258 GB, free: 13.56 MB / 0.545 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) {reset.y, booPul.y, onCounter.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$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: ........... 4 (scalar:4, 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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 3.721e-05/0.01058, allocations: 31.31 kB / 0.6259 GB, free: 13.54 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005708/0.01116, allocations: 342.7 kB / 0.6262 GB, free: 13.19 MB / 0.545 GB Notification: Performance of Templates: time 0.004505/0.01566, allocations: 1.717 MB / 0.6279 GB, free: 11.51 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.532301981002092] Failed to read output from testmodel.py, exit status != 0: 0.0238395556807518 0.038655574000000005 0.030325871 Calling exit ...