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.0007627/0.0007627, allocations: 84.23 kB / 20.06 MB, free: 4.465 MB / 18.57 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.001232/0.001232, allocations: 173.9 kB / 23.36 MB, free: 1.16 MB / 18.57 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 0.7509/0.7509, allocations: 177.1 MB / 203.7 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.6265/0.6265, allocations: 154.6 MB / 414.7 MB, free: 0.7578 MB / 378.7 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 179] 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.442e-05/1.442e-05, allocations: 2.312 kB / 0.6196 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001013/0.001027, allocations: 0.6679 MB / 0.6202 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009754/0.002003, allocations: 1.225 MB / 0.6214 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.002036, allocations: 0 / 0.6214 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.002059, allocations: 3.938 kB / 0.6214 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.002114, allocations: 23.86 kB / 0.6215 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.002547, allocations: 207.5 kB / 0.6217 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.002706, allocations: 187.6 kB / 0.6218 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.402e-05/0.00278, allocations: 11.98 kB / 0.6219 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.002869, allocations: 95.86 kB / 0.6219 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/0.002945, allocations: 59.84 kB / 0.622 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.002967, allocations: 16 kB / 0.622 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.926e-05/0.003016, allocations: 27.98 kB / 0.622 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of combineBinaries: time 9.152e-05/0.003108, allocations: 155.2 kB / 0.6222 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 2.292e-05/0.003131, allocations: 59.22 kB / 0.6222 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.003157, allocations: 12 kB / 0.6223 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.977e-06/0.003166, allocations: 0 / 0.6223 GB, free: 10.27 MB / 0.5886 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.0004554/0.003622, allocations: 0.5667 MB / 0.6228 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 5.183e-05/0.003673, allocations: 52.03 kB / 0.6229 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0002071/0.003881, allocations: 376.1 kB / 0.6232 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 0.0001115/0.003992, allocations: 152.2 kB / 0.6234 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0003891/0.004381, allocations: 352.5 kB / 0.6237 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 8.949e-05/0.004471, allocations: 144.3 kB / 0.6238 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 7.69e-05/0.004548, allocations: 148.3 kB / 0.624 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0002085/0.004756, allocations: 282.1 kB / 0.6242 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 5.4e-05/0.00481, allocations: 35.84 kB / 0.6243 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 9.532e-05/0.004905, allocations: 104.5 kB / 0.6244 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.000121/0.005026, allocations: 96.06 kB / 0.6245 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004098/0.005436, allocations: 363.6 kB / 0.6248 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0002249/0.005661, allocations: 288.4 kB / 0.6251 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0001841/0.005845, allocations: 383.7 kB / 0.6255 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 8.466e-06/0.005854, allocations: 12.12 kB / 0.6255 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 7.08e-05/0.005924, allocations: 111.9 kB / 0.6256 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0002091/0.006133, allocations: 208.2 kB / 0.6258 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 8.215e-06/0.006142, allocations: 4 kB / 0.6258 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 1.032e-06/0.006143, allocations: 0 / 0.6258 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 1.368e-05/0.006156, allocations: 12.12 kB / 0.6258 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 3.186e-06/0.00616, allocations: 4 kB / 0.6258 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 2.004e-06/0.006162, allocations: 11.94 kB / 0.6258 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 5.601e-06/0.006167, allocations: 0 / 0.6258 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 5.203e-05/0.006219, allocations: 43.95 kB / 0.6258 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 6.823e-06/0.006226, allocations: 0 / 0.6258 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.61e-07/0.006227, allocations: 0 / 0.6258 GB, free: 6.094 MB / 0.5886 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 2.664e-05/0.006253, allocations: 20.16 kB / 0.6259 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0003928/0.006646, allocations: 322.8 kB / 0.6262 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of Templates: time 0.002376/0.009022, allocations: 1.64 MB / 0.6278 GB, free: 4.156 MB / 0.5886 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: 3.080484040081501] Failed to read output from testmodel.py, exit status != 0: 0.013207010924816132 0.020394721 0.015793401000000002 Calling exit ...