Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001383/0.001383, 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.001453/0.001453, allocations: 166.2 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.44/1.44, allocations: 177.2 MB / 203.6 MB, free: 9.203 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.202/1.202, allocations: 154.7 MB / 414.7 MB, free: 5.176 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.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/1.919e-05, allocations: 2.281 kB / 0.6195 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001779/0.001798, allocations: 0.6471 MB / 0.6201 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.003392, allocations: 1.083 MB / 0.6212 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.003437, allocations: 4 kB / 0.6212 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.003461, allocations: 3.938 kB / 0.6212 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.236e-05/0.003524, allocations: 8.859 kB / 0.6212 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.003817, allocations: 47.77 kB / 0.6212 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.003928, allocations: 52.75 kB / 0.6213 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.004017, allocations: 15.98 kB / 0.6213 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.587e-05/0.004092, allocations: 23.98 kB / 0.6213 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.004141, allocations: 19.91 kB / 0.6214 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.004158, allocations: 4 kB / 0.6214 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.00423, allocations: 23.92 kB / 0.6214 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of combineBinaries: time 9.488e-05/0.004325, allocations: 75.27 kB / 0.6214 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 4.414e-05/0.004369, allocations: 43.47 kB / 0.6215 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.004389, allocations: 0 / 0.6215 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.527e-05/0.004404, allocations: 4 kB / 0.6215 GB, free: 2.535 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.000518/0.004922, allocations: 336.5 kB / 0.6218 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.000137/0.005059, allocations: 59.95 kB / 0.6219 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0002377/0.005297, allocations: 188.2 kB / 0.6221 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0001205/0.005417, allocations: 88.7 kB / 0.6221 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0004589/0.005876, allocations: 232.6 kB / 0.6224 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 9.267e-05/0.005969, allocations: 76.72 kB / 0.6224 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 5.704e-05/0.006026, allocations: 48.41 kB / 0.6225 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0002357/0.006261, allocations: 152.4 kB / 0.6226 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 8.054e-05/0.006342, allocations: 23.91 kB / 0.6226 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0001671/0.006509, allocations: 120.4 kB / 0.6228 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0001959/0.006705, allocations: 104.1 kB / 0.6229 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001313/0.006836, allocations: 139.8 kB / 0.623 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0002592/0.007095, allocations: 151 kB / 0.6231 GB, free: 344 kB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.0002142/0.00731, allocations: 203.8 kB / 0.6233 GB, free: 136 kB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 2.175e-05/0.007331, allocations: 20.05 kB / 0.6234 GB, free: 108 kB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 5.861e-05/0.00739, allocations: 43.95 kB / 0.6234 GB, free: 64 kB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0004637/0.007854, allocations: 280.8 kB / 0.6237 GB, free: 15.78 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 1.579e-05/0.007869, allocations: 12 kB / 0.6237 GB, free: 15.77 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 4.4e-07/0.00787, allocations: 0 / 0.6237 GB, free: 15.77 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 3.747e-06/0.007874, allocations: 0 / 0.6237 GB, free: 15.77 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 1.473e-06/0.007875, allocations: 0 / 0.6237 GB, free: 15.77 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 1.16e-05/0.007887, allocations: 4 kB / 0.6237 GB, free: 15.77 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0001305/0.008017, allocations: 71.95 kB / 0.6237 GB, free: 15.7 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 6.663e-06/0.008024, allocations: 0 / 0.6237 GB, free: 15.7 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.7e-07/0.008024, allocations: 0 / 0.6237 GB, free: 15.7 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: .................... 2 (2) {sampler1.y, sampler1.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {sampler1.sampleTrigger, $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: ........... 6 (scalar:6, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 11 (scalar:11, 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.179e-05/0.008066, allocations: 33.7 kB / 0.6238 GB, free: 15.68 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005265/0.008592, allocations: 267.7 kB / 0.624 GB, free: 15.39 MB / 0.545 GB Notification: Performance of Templates: time 0.003322/0.01191, allocations: 0.6898 MB / 0.6247 GB, free: 14.71 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.524800639599562] Failed to read output from testmodel.py, exit status != 0: 0.020052291452884674 0.034660851 0.027185490000000003 Calling exit ...