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.001421/0.001421, allocations: 85.7 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.001422/0.001422, allocations: 159.5 kB / 23.22 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.251/1.251, allocations: 154.7 MB / 414.7 MB, free: 5.172 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.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 1.672e-05/1.672e-05, allocations: 2.281 kB / 0.6195 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001594/0.001611, allocations: 0.66 MB / 0.6201 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.003121, allocations: 1.092 MB / 0.6212 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.003159, allocations: 0 / 0.6212 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.003188, allocations: 3.938 kB / 0.6212 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.003253, allocations: 7.938 kB / 0.6212 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.003557, allocations: 47.7 kB / 0.6213 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.003677, allocations: 63.78 kB / 0.6213 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.003764, allocations: 11.98 kB / 0.6213 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/0.00384, allocations: 27.97 kB / 0.6214 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.451e-05/0.003894, allocations: 19.91 kB / 0.6214 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.003912, allocations: 4 kB / 0.6214 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.494e-05/0.003977, allocations: 19.98 kB / 0.6214 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of combineBinaries: time 9.349e-05/0.00407, allocations: 75.28 kB / 0.6215 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 4.097e-05/0.004111, allocations: 47.38 kB / 0.6215 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.00413, allocations: 4 kB / 0.6215 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.115e-05/0.004141, allocations: 0 / 0.6215 GB, free: 2.504 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of [SIM] Bindings: time 0.0005372/0.004678, allocations: 356.4 kB / 0.6219 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001462/0.004824, allocations: 70.39 kB / 0.6219 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0002358/0.00506, allocations: 192.2 kB / 0.6221 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0001184/0.005179, allocations: 96.53 kB / 0.6222 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0004455/0.005624, allocations: 236.6 kB / 0.6224 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.0001013/0.005725, allocations: 80.7 kB / 0.6225 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 5.064e-05/0.005776, allocations: 44.42 kB / 0.6225 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.000228/0.006004, allocations: 153.3 kB / 0.6227 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 7.693e-05/0.006081, allocations: 35.84 kB / 0.6227 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0001795/0.00626, allocations: 128.4 kB / 0.6229 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0002217/0.006482, allocations: 136 kB / 0.623 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001388/0.006621, allocations: 139.9 kB / 0.6231 GB, free: 436 kB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0002602/0.006881, allocations: 165.4 kB / 0.6233 GB, free: 200 kB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.0002533/0.007134, allocations: 227.9 kB / 0.6235 GB, free: 15.96 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 2.131e-05/0.007156, allocations: 12.12 kB / 0.6235 GB, free: 15.95 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 5.838e-05/0.007214, allocations: 55.86 kB / 0.6236 GB, free: 15.89 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.0004964/0.007711, allocations: 314.9 kB / 0.6239 GB, free: 15.59 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 1.6e-05/0.007727, allocations: 8 kB / 0.6239 GB, free: 15.58 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.007727, allocations: 0 / 0.6239 GB, free: 15.58 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 3.667e-06/0.007731, allocations: 0 / 0.6239 GB, free: 15.58 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 5.149e-06/0.007736, allocations: 8 kB / 0.6239 GB, free: 15.57 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 5.661e-06/0.007741, allocations: 0 / 0.6239 GB, free: 15.57 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0001362/0.007878, allocations: 79.95 kB / 0.6239 GB, free: 15.49 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 9.047e-06/0.007887, allocations: 3.938 kB / 0.624 GB, free: 15.49 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.2e-07/0.007887, allocations: 0 / 0.624 GB, free: 15.49 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) {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.488e-05/0.007922, allocations: 16.33 kB / 0.624 GB, free: 15.48 MB / 0.545 GB Notification: Performance of SimCode: time 0.000515/0.008437, allocations: 295.9 kB / 0.6242 GB, free: 15.17 MB / 0.545 GB Notification: Performance of Templates: time 0.003446/0.01188, allocations: 0.7236 MB / 0.625 GB, free: 14.46 MB / 0.545 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 sys.exit(0), Time elapsed: 5.551271844655275] Failed to read output from testmodel.py, exit status != 0: 0.019625592976808548 0.034100240000000004 0.02683883 Calling exit ...