Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.0008128/0.0008128, allocations: 80.25 kB / 20.05 MB, free: 4.469 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.0007461/0.0007461, allocations: 177.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.8301/0.8301, allocations: 177.2 MB / 203.7 MB, free: 5.699 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.6686/0.6686, allocations: 154.6 MB / 414.7 MB, free: 0.7617 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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.183e-05, allocations: 6.25 kB / 0.6196 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001316/0.001338, allocations: 0.6468 MB / 0.6202 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.002371, allocations: 1.104 MB / 0.6213 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.002419, allocations: 0 / 0.6213 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.002453, allocations: 3.938 kB / 0.6213 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.005e-05/0.002513, allocations: 7.938 kB / 0.6213 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.002808, allocations: 51.7 kB / 0.6213 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.441e-05/0.002902, allocations: 59.81 kB / 0.6214 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.146e-05/0.002994, allocations: 11.98 kB / 0.6214 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.631e-05/0.00306, allocations: 31.91 kB / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.043e-05/0.0031, allocations: 19.97 kB / 0.6215 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.003116, allocations: 4 kB / 0.6215 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.513e-05/0.003171, allocations: 19.98 kB / 0.6215 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of combineBinaries: time 6.706e-05/0.003238, allocations: 83.2 kB / 0.6216 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 1.557e-05/0.003253, allocations: 35.53 kB / 0.6216 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.003269, allocations: 4 kB / 0.6216 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.205e-05/0.003281, allocations: 7.938 kB / 0.6216 GB, free: 10.92 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of [SIM] Bindings: time 0.0003939/0.003675, allocations: 352.3 kB / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001212/0.003796, allocations: 66.41 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0001551/0.003951, allocations: 196.2 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 5.67e-05/0.004008, allocations: 64.33 kB / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0003563/0.004364, allocations: 237 kB / 0.6225 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 3.491e-05/0.004399, allocations: 48.42 kB / 0.6225 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 2.879e-05/0.004428, allocations: 52.41 kB / 0.6226 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0001556/0.004583, allocations: 144.8 kB / 0.6227 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 6.661e-05/0.00465, allocations: 43.92 kB / 0.6228 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.000125/0.004775, allocations: 132.3 kB / 0.6229 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0001609/0.004936, allocations: 132 kB / 0.623 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 8.034e-05/0.005016, allocations: 155.9 kB / 0.6232 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0001645/0.005181, allocations: 139.1 kB / 0.6233 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0001207/0.005301, allocations: 219.9 kB / 0.6235 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.174e-05/0.005313, allocations: 16.06 kB / 0.6235 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 3.765e-05/0.005351, allocations: 51.94 kB / 0.6236 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0003223/0.005673, allocations: 341.8 kB / 0.6239 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.097e-05/0.005684, allocations: 8 kB / 0.6239 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 7.42e-07/0.005685, allocations: 7.938 kB / 0.6239 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 4.65e-05/0.005731, allocations: 28.11 kB / 0.6239 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 3.917e-06/0.005735, allocations: 0 / 0.6239 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 2.976e-06/0.005738, allocations: 8 kB / 0.6239 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 8.216e-06/0.005746, allocations: 0 / 0.6239 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 0.0001127/0.005859, allocations: 115.9 kB / 0.6241 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 0.0001027/0.005962, allocations: 198.1 kB / 0.6242 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.01e-07/0.005962, allocations: 0 / 0.6242 GB, free: 7.695 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: .................... 2 (2) {zerOrdHol.ySample, zerOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {zerOrdHol.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: ............ 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: ........... 13 (scalar:13, 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 3.235e-05/0.005994, allocations: 11.59 kB / 0.6243 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0004717/0.006466, allocations: 304 kB / 0.6245 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of Templates: time 0.002135/0.008601, allocations: 0.7883 MB / 0.6253 GB, free: 6.609 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.660677163861692] Failed to read output from testmodel.py, exit status != 0: 0.013186942785978317 0.021248307 0.016365086 Calling exit ...