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.001279/0.001279, allocations: 78.66 kB / 19.95 MB, free: 1.945 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.001392/0.001392, allocations: 164.2 kB / 23.23 MB, free: 4.965 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.386/1.386, allocations: 177.2 MB / 203.6 MB, free: 9.18 MB / 190.1 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.05928/0.05928, allocations: 9.142 MB / 269.2 MB, free: 7.914 MB / 254.1 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.0006951/0.0006951, allocations: 23.94 kB / 328.6 MB, free: 42.36 MB / 286.1 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 2.326/2.326, allocations: 275.1 MB / 0.6477 GB, free: 6.234 MB / 0.4982 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 177] 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 1.955e-05/1.955e-05, allocations: 5.234 kB / 0.9294 GB, free: 22.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.00158/0.001599, allocations: 0.8283 MB / 0.9302 GB, free: 21.81 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.00408, allocations: 2.416 MB / 0.9326 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.004155, allocations: 8.812 kB / 0.9326 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.523e-05/0.004211, allocations: 14.3 kB / 0.9326 GB, free: 20.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.004397, allocations: 45.66 kB / 0.9327 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009883/0.005385, allocations: 0.4993 MB / 0.9331 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.00573, allocations: 350 kB / 0.9335 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.102e-05/0.005791, allocations: 10.06 kB / 0.9335 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003395/0.00613, allocations: 203.5 kB / 0.9337 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.0063, allocations: 124.1 kB / 0.9338 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.006352, allocations: 23.97 kB / 0.9338 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.006963, allocations: 390.1 kB / 0.9342 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0003267/0.007289, allocations: 392.5 kB / 0.9346 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 8.762e-05/0.007377, allocations: 187.9 kB / 0.9347 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.007418, allocations: 20.88 kB / 0.9348 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.823e-05/0.007436, allocations: 12.33 kB / 0.9348 GB, free: 19.14 MB / 0.7325 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.001062/0.008498, allocations: 1.117 MB / 0.9359 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004354/0.008933, allocations: 359.3 kB / 0.9362 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0009401/0.009873, allocations: 1.037 MB / 0.9372 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.0002421/0.01012, allocations: 172.1 kB / 0.9374 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.001251/0.01137, allocations: 0.9976 MB / 0.9384 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 0.0002043/0.01157, allocations: 180.5 kB / 0.9385 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 0.0001392/0.01171, allocations: 133.6 kB / 0.9387 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0004816/0.01219, allocations: 433.9 kB / 0.9391 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 0.0001572/0.01235, allocations: 120 kB / 0.9392 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0005721/0.01292, allocations: 0.5791 MB / 0.9398 GB, free: 16 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.000841/0.01376, allocations: 0.7257 MB / 0.9405 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006837/0.01445, allocations: 0.8475 MB / 0.9413 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0005108/0.01496, allocations: 399.3 kB / 0.9417 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0009939/0.01595, allocations: 1.223 MB / 0.9429 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 6.244e-05/0.01601, allocations: 35.72 kB / 0.9429 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 0.0002437/0.01626, allocations: 264.5 kB / 0.9432 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.001453/0.01771, allocations: 1.151 MB / 0.9443 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 2.45e-05/0.01773, allocations: 37.97 kB / 0.9443 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 8.21e-07/0.01773, allocations: 1.125 kB / 0.9443 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 7.234e-06/0.01774, allocations: 1.062 kB / 0.9443 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 1.216e-05/0.01775, allocations: 36.91 kB / 0.9444 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 1.533e-05/0.01777, allocations: 6.531 kB / 0.9444 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.0007414/0.01851, allocations: 0.5716 MB / 0.9449 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 8.937e-06/0.01852, allocations: 5.156 kB / 0.9449 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.9e-07/0.01852, allocations: 0 / 0.9449 GB, free: 13.86 MB / 0.7325 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.634e-05/0.01862, allocations: 54.03 kB / 0.945 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of SimCode: time 0.002356/0.02097, allocations: 1.58 MB / 0.9465 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of Templates: time 0.01008/0.03105, allocations: 5.521 MB / 0.9519 GB, free: 12.5 MB / 0.7325 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 sys.exit(0), Time elapsed: 7.406317941844463] Failed to read output from testmodel.py, exit status != 0: 0.037240996956825256 0.048813267 0.038856520000000005 Calling exit ...