Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.0007582/0.0007582, allocations: 84.23 kB / 20.06 MB, free: 4.461 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.0008455/0.0008455, allocations: 173.9 kB / 23.36 MB, free: 1.156 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.841/0.841, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.671/0.671, allocations: 154.6 MB / 414.7 MB, free: 0.6719 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.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/1.915e-05, allocations: 6.25 kB / 0.6196 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001248/0.001267, allocations: 0.6643 MB / 0.6202 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.002324, allocations: 1.112 MB / 0.6213 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.002377, allocations: 0 / 0.6213 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.002405, allocations: 3.938 kB / 0.6213 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.319e-05/0.002468, allocations: 11.86 kB / 0.6213 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.002756, allocations: 55.7 kB / 0.6214 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.002856, allocations: 75.81 kB / 0.6214 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.237e-05/0.002939, allocations: 4 kB / 0.6214 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.003009, allocations: 51.89 kB / 0.6215 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.00305, allocations: 27.89 kB / 0.6215 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.003066, allocations: 4 kB / 0.6215 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.531e-05/0.003121, allocations: 23.98 kB / 0.6215 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of combineBinaries: time 7.2e-05/0.003193, allocations: 99.16 kB / 0.6216 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 1.949e-05/0.003213, allocations: 51.28 kB / 0.6217 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.003231, allocations: 4 kB / 0.6217 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.058e-05/0.003241, allocations: 0 / 0.6217 GB, free: 10.86 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0004227/0.003664, allocations: 434.8 kB / 0.6221 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001251/0.003789, allocations: 79.92 kB / 0.6222 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0001998/0.003989, allocations: 284.1 kB / 0.6225 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 6.464e-05/0.004054, allocations: 72.33 kB / 0.6225 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0006435/0.004697, allocations: 272.7 kB / 0.6228 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 5.194e-05/0.004749, allocations: 60.77 kB / 0.6228 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 3.43e-05/0.004783, allocations: 68.34 kB / 0.6229 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0001746/0.004958, allocations: 184.8 kB / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 6.817e-05/0.005026, allocations: 51.83 kB / 0.6231 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001386/0.005165, allocations: 152.4 kB / 0.6233 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0002081/0.005373, allocations: 198.5 kB / 0.6235 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001139/0.005487, allocations: 219.8 kB / 0.6237 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0001613/0.005648, allocations: 157.5 kB / 0.6238 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0001661/0.005814, allocations: 323.7 kB / 0.6241 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.374e-05/0.005828, allocations: 16.12 kB / 0.6241 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 3.634e-05/0.005864, allocations: 59.94 kB / 0.6242 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0002879/0.006152, allocations: 316.4 kB / 0.6245 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.197e-05/0.006164, allocations: 16 kB / 0.6245 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 8.72e-07/0.006165, allocations: 0 / 0.6245 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 5.524e-05/0.00622, allocations: 36.05 kB / 0.6246 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 3.687e-06/0.006224, allocations: 0 / 0.6246 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 3.587e-06/0.006227, allocations: 8 kB / 0.6246 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 7.775e-06/0.006235, allocations: 4 kB / 0.6246 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 0.0001374/0.006372, allocations: 147.9 kB / 0.6247 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 0.0001034/0.006476, allocations: 194.1 kB / 0.6249 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.81e-07/0.006476, allocations: 0 / 0.6249 GB, free: 7.051 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: .................... 5 (5) {firOrdHol.c, firOrdHol.pre_uSample, firOrdHol.uSample, firOrdHol.tSample, firOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {firOrdHol.sampleTrigger, $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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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: ........... 20 (scalar:20, 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 5.388e-05/0.00653, allocations: 25.98 kB / 0.6249 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0004649/0.006995, allocations: 340 kB / 0.6252 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of Templates: time 0.002168/0.009163, allocations: 0.9013 MB / 0.6261 GB, free: 5.809 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.389766211621463] Failed to read output from testmodel.py, exit status != 0: 0.013674221001565456 0.022276780000000003 0.017422013 Calling exit ...