Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.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.0009011/0.0009011, allocations: 80.25 kB / 20.06 MB, free: 4.457 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.0009676/0.0009676, allocations: 173.9 kB / 23.36 MB, free: 1.152 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.8065/0.8065, allocations: 177.1 MB / 203.7 MB, free: 5.699 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.6558/0.6558, allocations: 154.6 MB / 414.7 MB, free: 0.7695 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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.295e-05, allocations: 5.047 kB / 0.6195 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.001936/0.001959, allocations: 1.519 MB / 0.621 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008202/0.002779, allocations: 0.5303 MB / 0.6215 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.002822, allocations: 0 / 0.6215 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.082e-05/0.002903, allocations: 7.938 kB / 0.6215 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.949e-05/0.002992, allocations: 31.56 kB / 0.6215 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.003516, allocations: 327.2 kB / 0.6218 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.003841, allocations: 499.3 kB / 0.6223 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.003884, allocations: 3.984 kB / 0.6223 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.004184, allocations: 359.6 kB / 0.6227 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.004339, allocations: 127.8 kB / 0.6228 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.004384, allocations: 28 kB / 0.6228 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.004424, allocations: 24 kB / 0.6228 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of combineBinaries: time 0.0001834/0.004607, allocations: 318.3 kB / 0.6231 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 3.769e-05/0.004645, allocations: 94.8 kB / 0.6232 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.004683, allocations: 28 kB / 0.6233 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.54e-05/0.004699, allocations: 3.938 kB / 0.6233 GB, free: 9.254 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: 14 (14) * Number of variables: 14 (14) Notification: Performance of [SIM] Bindings: time 0.0006944/0.005393, allocations: 0.9261 MB / 0.6242 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001576/0.005551, allocations: 150.9 kB / 0.6243 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 0.0003931/0.005944, allocations: 0.7381 MB / 0.625 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 0.0002398/0.006184, allocations: 240.1 kB / 0.6253 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0005532/0.006737, allocations: 0.5719 MB / 0.6258 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 0.0001918/0.006928, allocations: 248.1 kB / 0.626 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 0.0001211/0.00705, allocations: 200.2 kB / 0.6262 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 0.0003635/0.007413, allocations: 0.5055 MB / 0.6267 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 5.104e-05/0.007464, allocations: 27.8 kB / 0.6268 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 0.0004629/0.007927, allocations: 297.6 kB / 0.627 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0002643/0.008191, allocations: 268.7 kB / 0.6273 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003891/0.00858, allocations: 0.7728 MB / 0.6281 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 0.0003559/0.008936, allocations: 412.5 kB / 0.6284 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 0.0004153/0.009352, allocations: 0.843 MB / 0.6293 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 1.704e-05/0.009369, allocations: 17.42 kB / 0.6293 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 0.0001376/0.009506, allocations: 231.8 kB / 0.6295 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0004749/0.009981, allocations: 0.5277 MB / 0.63 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.357e-05/0.009995, allocations: 16 kB / 0.63 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 5.71e-07/0.009995, allocations: 3.938 kB / 0.63 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 4.101e-05/0.01004, allocations: 28.11 kB / 0.6301 GB, free: 1.797 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 3.747e-06/0.01004, allocations: 0 / 0.6301 GB, free: 1.797 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 4.398e-06/0.01004, allocations: 16 kB / 0.6301 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 6.923e-06/0.01005, allocations: 0 / 0.6301 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 0.0001751/0.01023, allocations: 201.8 kB / 0.6303 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 9.302e-05/0.01032, allocations: 178 kB / 0.6304 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.51e-07/0.01032, allocations: 3.938 kB / 0.6305 GB, free: 1.367 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: .................... 10 (10) {calendarTime2016.firstDaySampling, calendarTime2016.day, calendarTime2016.epochLastMonth, calendarTime2016.month, calendarTime2016.year, calendarTime2016.yearIndex, calendarTime2016.weekDay, calendarTime2016.daysSinceEpoch, calendarTime2016.firstHourSampling, calendarTime2016.hour} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {calendarTime2016.hourSampleTrigger, calendarTime2016.daySampleTrigger, $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: ........... 5 (scalar:5, array:0, record:0) * Number of multi strong components: ............ 10 (algorithm:0, when:10, 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: ........... 28 (scalar:28, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 8.841e-05/0.01041, allocations: 42.08 kB / 0.6305 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0007542/0.01116, allocations: 1.041 MB / 0.6315 GB, free: 288 kB / 0.5886 GB Notification: Performance of Templates: time 0.004582/0.01574, allocations: 4.036 MB / 0.6354 GB, free: 12.2 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 3.269239788874984] Failed to read output from testmodel.py, exit status != 0: 0.02012073714286089 0.02875567 0.022588085 Calling exit ...