Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008543/0.0008543, 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.0008429/0.0008429, 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.8629/0.8629, allocations: 177.2 MB / 203.7 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6613/0.6613, allocations: 154.5 MB / 414.7 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/1.992e-05, allocations: 2.312 kB / 0.6195 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001172/0.001192, allocations: 0.6585 MB / 0.6202 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.002143, allocations: 1.096 MB / 0.6212 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.002185, allocations: 0 / 0.6212 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.002212, allocations: 3.938 kB / 0.6212 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.00227, allocations: 7.875 kB / 0.6212 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.00252, allocations: 47.77 kB / 0.6213 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.002606, allocations: 63.78 kB / 0.6213 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.991e-05/0.002696, allocations: 11.98 kB / 0.6214 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.002761, allocations: 27.91 kB / 0.6214 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.924e-05/0.0028, allocations: 19.97 kB / 0.6214 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.002815, allocations: 4 kB / 0.6214 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.068e-05/0.002865, allocations: 19.98 kB / 0.6214 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of combineBinaries: time 6.447e-05/0.00293, allocations: 79.27 kB / 0.6215 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 1.734e-05/0.002947, allocations: 35.53 kB / 0.6215 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.002963, allocations: 3.938 kB / 0.6215 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.276e-05/0.002975, allocations: 7.938 kB / 0.6215 GB, free: 11.02 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.0003603/0.003336, allocations: 356.4 kB / 0.6219 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001092/0.003445, allocations: 60.02 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0001501/0.003595, allocations: 204.2 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 5.461e-05/0.00365, allocations: 64.28 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0003327/0.003982, allocations: 232.7 kB / 0.6224 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 3.146e-05/0.004014, allocations: 44.42 kB / 0.6225 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 3.105e-05/0.004045, allocations: 60.33 kB / 0.6225 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0001503/0.004195, allocations: 137.3 kB / 0.6227 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 6.044e-05/0.004256, allocations: 47.8 kB / 0.6227 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0001174/0.004373, allocations: 132.4 kB / 0.6228 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0001547/0.004528, allocations: 132 kB / 0.623 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 7.514e-05/0.004603, allocations: 159.8 kB / 0.6231 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0001482/0.004751, allocations: 124.6 kB / 0.6232 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0001126/0.004864, allocations: 223.8 kB / 0.6234 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.129e-05/0.004875, allocations: 12.12 kB / 0.6234 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 3.033e-05/0.004905, allocations: 51.95 kB / 0.6235 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0003165/0.005222, allocations: 343.9 kB / 0.6238 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.067e-05/0.005232, allocations: 8 kB / 0.6238 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.005233, allocations: 0 / 0.6238 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 4.137e-05/0.005274, allocations: 43.97 kB / 0.6239 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 3.357e-06/0.005277, allocations: 0 / 0.6239 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 2.976e-06/0.00528, allocations: 8 kB / 0.6239 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 7.774e-06/0.005288, allocations: 3.984 kB / 0.6239 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 0.0001061/0.005394, allocations: 107.9 kB / 0.624 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 0.0001/0.005494, allocations: 198 kB / 0.6242 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.51e-07/0.005495, allocations: 0 / 0.6242 GB, free: 7.801 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.252e-05/0.005527, allocations: 27.28 kB / 0.6242 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0004711/0.005998, allocations: 308 kB / 0.6245 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of Templates: time 0.002175/0.008174, allocations: 0.7792 MB / 0.6253 GB, free: 6.703 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.000861185602844] Failed to read output from testmodel.py, exit status != 0: 0.012619937770068645 0.020131667000000002 0.015637118000000002 Calling exit ...