Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.0007935/0.0007935, allocations: 80.25 kB / 20.06 MB, free: 4.465 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.0009968/0.0009968, allocations: 173.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.8389/0.8389, allocations: 177.2 MB / 203.7 MB, free: 5.695 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03265/0.03265, allocations: 9.122 MB / 269.3 MB, free: 4.414 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004083/0.0004083, allocations: 23.75 kB / 328.7 MB, free: 5.777 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.408/1.408, allocations: 274.9 MB / 0.6476 GB, free: 2.785 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.067e-05, allocations: 2.312 kB / 0.9295 GB, free: 20.95 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001267/0.001288, allocations: 0.8351 MB / 0.9303 GB, free: 20.43 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.003243, allocations: 2.418 MB / 0.9327 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.003317, allocations: 0 / 0.9327 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.003351, allocations: 13.17 kB / 0.9327 GB, free: 18.75 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.003542, allocations: 51.16 kB / 0.9327 GB, free: 18.72 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.00086/0.004402, allocations: 0.4994 MB / 0.9332 GB, free: 18.47 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.004685, allocations: 341.8 kB / 0.9335 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.004738, allocations: 17.95 kB / 0.9336 GB, free: 18.31 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.005022, allocations: 200 kB / 0.9337 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.005149, allocations: 123.8 kB / 0.9339 GB, free: 18.2 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.005184, allocations: 24.28 kB / 0.9339 GB, free: 18.2 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005124/0.005697, allocations: 385.2 kB / 0.9343 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of combineBinaries: time 0.0002384/0.005935, allocations: 397.7 kB / 0.9346 GB, free: 17.89 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 6.371e-05/0.005999, allocations: 187.3 kB / 0.9348 GB, free: 17.78 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.006039, allocations: 17.53 kB / 0.9348 GB, free: 17.78 MB / 0.7293 GB Notification: Performance of FrontEnd: time 2.175e-05/0.00606, allocations: 11.45 kB / 0.9348 GB, free: 17.77 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 (32) * Number of variables: 32 (32) Notification: Performance of [SIM] Bindings: time 0.0007811/0.006841, allocations: 1.12 MB / 0.9359 GB, free: 16.98 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003465/0.007188, allocations: 355.7 kB / 0.9363 GB, free: 16.78 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.0007276/0.007916, allocations: 1.038 MB / 0.9373 GB, free: 16.23 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 0.0001989/0.008114, allocations: 171.4 kB / 0.9374 GB, free: 16.14 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.001055/0.009169, allocations: 1.009 MB / 0.9384 GB, free: 15.53 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 0.0001493/0.009318, allocations: 180 kB / 0.9386 GB, free: 15.44 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 8.991e-05/0.009408, allocations: 134 kB / 0.9387 GB, free: 15.34 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0003539/0.009762, allocations: 438.7 kB / 0.9392 GB, free: 15.05 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 0.0001215/0.009884, allocations: 119.4 kB / 0.9393 GB, free: 14.99 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.000443/0.01033, allocations: 0.5733 MB / 0.9398 GB, free: 14.63 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0006953/0.01102, allocations: 0.7881 MB / 0.9406 GB, free: 14.32 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004975/0.01152, allocations: 0.8438 MB / 0.9414 GB, free: 13.93 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0004271/0.01195, allocations: 400.6 kB / 0.9418 GB, free: 13.7 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0007639/0.01271, allocations: 1.231 MB / 0.943 GB, free: 13.12 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 3.491e-05/0.01275, allocations: 34.84 kB / 0.943 GB, free: 13.1 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 0.0001833/0.01293, allocations: 258.1 kB / 0.9433 GB, free: 12.98 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.001105/0.01403, allocations: 1.218 MB / 0.9445 GB, free: 12.69 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 1.93e-05/0.01405, allocations: 37.97 kB / 0.9445 GB, free: 12.66 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 1.042e-06/0.01405, allocations: 1 kB / 0.9445 GB, free: 12.66 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 0.0002419/0.0143, allocations: 316 kB / 0.9448 GB, free: 12.43 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 5.942e-06/0.0143, allocations: 6.953 kB / 0.9448 GB, free: 12.42 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 1.409e-05/0.01432, allocations: 48.47 kB / 0.9449 GB, free: 12.39 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 1.683e-05/0.01433, allocations: 3.094 kB / 0.9449 GB, free: 12.39 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 0.0007907/0.01512, allocations: 0.9651 MB / 0.9458 GB, free: 12.09 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 0.0002629/0.01539, allocations: 0.9944 MB / 0.9468 GB, free: 11.05 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 9.12e-07/0.01539, allocations: 3.938 kB / 0.9468 GB, free: 11.05 MB / 0.7293 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * 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: .................... 8 (8) {sunRiseSetSyd.nextSunSet, sunRiseSetSyd.nextSunRise, sunRiseSetAntarctic.nextSunSet, sunRiseSetAntarctic.nextSunRise, sunRiseSetSf.nextSunSet, sunRiseSetSf.nextSunRise, sunRiseSetArctic.nextSunSet, sunRiseSetArctic.nextSunRise} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 16 (16) {sunRiseSetArctic.sunUp, sunRiseSetSf.sunUp, sunRiseSetAntarctic.sunUp, sunRiseSetSyd.sunUp, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 46 (scalar:46, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 74 (scalar:74, 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 9.979e-05/0.01549, allocations: 55.75 kB / 0.9468 GB, free: 11 MB / 0.7293 GB Notification: Performance of SimCode: time 0.002406/0.01789, allocations: 1.798 MB / 0.9486 GB, free: 10.18 MB / 0.7293 GB Notification: Performance of Templates: time 0.008889/0.02678, allocations: 6.113 MB / 0.9546 GB, free: 9.484 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.741649196483195] Failed to read output from testmodel.py, exit status != 0: 0.031915939413011074 0.039182001 0.031637467 Calling exit ...