Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.0008798/0.0008798, allocations: 80.25 kB / 20.06 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.0006936/0.0006936, allocations: 173.9 kB / 23.36 MB, free: 1.164 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.8265/0.8265, allocations: 177.2 MB / 203.7 MB, free: 5.688 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.03337/0.03337, allocations: 9.122 MB / 269.3 MB, free: 4.406 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.0004155/0.0004155, allocations: 30.27 kB / 328.7 MB, free: 5.773 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.451/1.451, allocations: 274.9 MB / 0.6476 GB, free: 2.844 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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.165e-05, allocations: 5.406 kB / 0.9295 GB, free: 20.72 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001213/0.001235, allocations: 0.8342 MB / 0.9303 GB, free: 20.2 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.003254, allocations: 2.423 MB / 0.9327 GB, free: 18.53 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.003375, allocations: 0 / 0.9327 GB, free: 18.53 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.003414, allocations: 18.27 kB / 0.9327 GB, free: 18.52 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.0036, allocations: 45.91 kB / 0.9327 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009785/0.004578, allocations: 0.5033 MB / 0.9332 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.004817, allocations: 342.3 kB / 0.9335 GB, free: 18.08 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.004868, allocations: 9.562 kB / 0.9335 GB, free: 18.08 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.00513, allocations: 204.1 kB / 0.9337 GB, free: 18 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.005252, allocations: 124.3 kB / 0.9339 GB, free: 17.96 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.005285, allocations: 23.03 kB / 0.9339 GB, free: 17.96 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.005666, allocations: 385.5 kB / 0.9342 GB, free: 17.88 MB / 0.7293 GB Notification: Performance of combineBinaries: time 0.0002073/0.005873, allocations: 401.5 kB / 0.9346 GB, free: 17.66 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 8.308e-05/0.005956, allocations: 183.1 kB / 0.9348 GB, free: 17.55 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.005998, allocations: 20.47 kB / 0.9348 GB, free: 17.54 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.715e-05/0.006015, allocations: 8.125 kB / 0.9348 GB, free: 17.54 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.0007263/0.006741, allocations: 1.121 MB / 0.9359 GB, free: 16.74 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003518/0.007093, allocations: 358.6 kB / 0.9363 GB, free: 16.55 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.000648/0.007741, allocations: 1.042 MB / 0.9373 GB, free: 15.99 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 0.0001667/0.007908, allocations: 167.7 kB / 0.9374 GB, free: 15.9 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.0008959/0.008804, allocations: 1.003 MB / 0.9384 GB, free: 15.3 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 0.0001364/0.00894, allocations: 176 kB / 0.9386 GB, free: 15.21 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 8.04e-05/0.00902, allocations: 133.4 kB / 0.9387 GB, free: 15.11 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0003322/0.009353, allocations: 445.2 kB / 0.9391 GB, free: 14.82 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 0.0001153/0.009468, allocations: 130.8 kB / 0.9393 GB, free: 14.75 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.000454/0.009922, allocations: 0.5763 MB / 0.9398 GB, free: 14.39 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0007005/0.01062, allocations: 0.7806 MB / 0.9406 GB, free: 14.09 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005143/0.01114, allocations: 0.8443 MB / 0.9414 GB, free: 13.7 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.00038/0.01152, allocations: 404.6 kB / 0.9418 GB, free: 13.46 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0007894/0.01231, allocations: 1.231 MB / 0.943 GB, free: 12.89 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 3.786e-05/0.01234, allocations: 39.62 kB / 0.943 GB, free: 12.86 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 0.0002004/0.01254, allocations: 254.1 kB / 0.9433 GB, free: 12.74 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.001094/0.01364, allocations: 1.223 MB / 0.9445 GB, free: 12.45 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 1.85e-05/0.01366, allocations: 40.97 kB / 0.9445 GB, free: 12.41 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 6.81e-07/0.01366, allocations: 1 kB / 0.9445 GB, free: 12.41 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 0.0002831/0.01394, allocations: 303.5 kB / 0.9448 GB, free: 12.2 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 5.2e-06/0.01395, allocations: 5.438 kB / 0.9448 GB, free: 12.19 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 1.268e-05/0.01396, allocations: 49.72 kB / 0.9449 GB, free: 12.16 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 1.45e-05/0.01397, allocations: 10.47 kB / 0.9449 GB, free: 12.15 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 0.0008497/0.01482, allocations: 0.9584 MB / 0.9458 GB, free: 11.85 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 0.0002608/0.01508, allocations: 0.9953 MB / 0.9468 GB, free: 10.81 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 8.82e-07/0.01508, allocations: 0 / 0.9468 GB, free: 10.81 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.113e-05/0.01518, allocations: 51.69 kB / 0.9468 GB, free: 10.77 MB / 0.7293 GB Notification: Performance of SimCode: time 0.001809/0.01698, allocations: 1.795 MB / 0.9486 GB, free: 9.945 MB / 0.7293 GB Notification: Performance of Templates: time 0.008206/0.02519, allocations: 6.096 MB / 0.9545 GB, free: 9.254 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.770376502536237] Failed to read output from testmodel.py, exit status != 0: 0.030023246072232723 0.037072084000000005 0.029535176000000003 Calling exit ...