Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001326/0.001326, allocations: 74.72 kB / 19.96 MB, free: 1.453 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.001422/0.001422, allocations: 171.5 kB / 23.23 MB, free: 4.195 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.396/1.396, allocations: 177.2 MB / 203.6 MB, free: 8.207 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.207/1.207, allocations: 154.7 MB / 414.7 MB, free: 6.512 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 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.689e-05, allocations: 2.281 kB / 0.6195 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001831/0.001848, allocations: 0.7345 MB / 0.6202 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.003579, allocations: 1.189 MB / 0.6214 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.003642, allocations: 4 kB / 0.6214 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.003674, allocations: 7.875 kB / 0.6214 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.003748, allocations: 7.938 kB / 0.6214 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.004367, allocations: 142.7 kB / 0.6215 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.004623, allocations: 143.5 kB / 0.6217 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.004726, allocations: 16.17 kB / 0.6217 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.004864, allocations: 71.88 kB / 0.6217 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.14e-05/0.004956, allocations: 43.88 kB / 0.6218 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.004987, allocations: 8 kB / 0.6218 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.00507, allocations: 23.98 kB / 0.6218 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.000166/0.005236, allocations: 150.8 kB / 0.622 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 5.097e-05/0.005287, allocations: 59.25 kB / 0.622 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.005324, allocations: 8 kB / 0.622 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.748e-05/0.005341, allocations: 5.562 kB / 0.622 GB, free: 1.699 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (10) * Number of variables: 10 (10) Notification: Performance of [SIM] Bindings: time 0.0007689/0.00611, allocations: 0.5285 MB / 0.6225 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001245/0.006235, allocations: 56.03 kB / 0.6226 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of [SIM] Early Inline: time 0.000441/0.006676, allocations: 360.5 kB / 0.6229 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 1: time 0.0001988/0.006875, allocations: 136 kB / 0.6231 GB, free: 440 kB / 0.5137 GB Notification: Performance of [SIM] Alias: time 0.0007182/0.007593, allocations: 376.9 kB / 0.6234 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.0001823/0.007775, allocations: 133.6 kB / 0.6236 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 0.0001337/0.007909, allocations: 100.3 kB / 0.6237 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0003326/0.008241, allocations: 210.9 kB / 0.6239 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 9.176e-05/0.008333, allocations: 39.66 kB / 0.6239 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0001975/0.008531, allocations: 128.4 kB / 0.624 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0002321/0.008763, allocations: 137 kB / 0.6242 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002874/0.00905, allocations: 271.7 kB / 0.6244 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0003866/0.009437, allocations: 248.1 kB / 0.6246 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.0003891/0.009826, allocations: 359.7 kB / 0.625 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 2.993e-05/0.009856, allocations: 20.11 kB / 0.625 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 0.0001074/0.009963, allocations: 80.98 kB / 0.6251 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0003719/0.01033, allocations: 217.3 kB / 0.6253 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 1.515e-05/0.01035, allocations: 4.875 kB / 0.6253 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 5.91e-07/0.01035, allocations: 0 / 0.6253 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 6.002e-06/0.01036, allocations: 9 kB / 0.6253 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 5.53e-06/0.01036, allocations: 8 kB / 0.6253 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 5.991e-06/0.01037, allocations: 0.5 kB / 0.6253 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.000129/0.0105, allocations: 66.64 kB / 0.6254 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 6.883e-06/0.0105, allocations: 0 / 0.6254 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.4e-07/0.0105, allocations: 0 / 0.6254 GB, free: 13.75 MB / 0.5294 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) {triSam1.y, triSam.y, booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {triSam.trigger, $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: ........... 7 (scalar:7, 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: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.481e-05/0.01055, allocations: 28.03 kB / 0.6254 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0006385/0.01119, allocations: 363.2 kB / 0.6258 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of Templates: time 0.004409/0.0156, allocations: 1.274 MB / 0.627 GB, free: 12.15 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.57952668145299] Failed to read output from testmodel.py, exit status != 0: 0.024124063551425934 0.038615378000000006 0.030173254000000004 Calling exit ...