Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.0007485/0.0007485, 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.0009013/0.0009013, 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.8258/0.8258, allocations: 177.1 MB / 203.7 MB, free: 5.703 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.03331/0.03331, allocations: 9.12 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.0002984/0.0002984, allocations: 31.72 kB / 328.7 MB, free: 20.61 MB / 266.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.439/1.439, allocations: 275 MB / 0.6476 GB, free: 2.469 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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.139e-05, allocations: 6 kB / 0.9295 GB, free: 8.105 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001217/0.001238, allocations: 0.8359 MB / 0.9303 GB, free: 7.293 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.003211, allocations: 2.418 MB / 0.9327 GB, free: 4.863 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.003275, allocations: 9.688 kB / 0.9327 GB, free: 4.855 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.003303, allocations: 15.8 kB / 0.9327 GB, free: 4.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.003438, allocations: 47.61 kB / 0.9327 GB, free: 4.793 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000756/0.004194, allocations: 0.5051 MB / 0.9332 GB, free: 4.293 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.004414, allocations: 339.5 kB / 0.9335 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.004453, allocations: 9.812 kB / 0.9336 GB, free: 3.949 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.004667, allocations: 204.9 kB / 0.9337 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.004764, allocations: 123.7 kB / 0.9339 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.004794, allocations: 24 kB / 0.9339 GB, free: 3.609 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.005186, allocations: 379.5 kB / 0.9343 GB, free: 3.238 MB / 0.698 GB Notification: Performance of combineBinaries: time 0.0001927/0.005378, allocations: 404.9 kB / 0.9346 GB, free: 2.84 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 6.648e-05/0.005445, allocations: 187.7 kB / 0.9348 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.00547, allocations: 16 kB / 0.9348 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.647e-05/0.005486, allocations: 11.88 kB / 0.9348 GB, free: 2.629 MB / 0.698 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.0006934/0.006179, allocations: 1.117 MB / 0.9359 GB, free: 1.391 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002877/0.006467, allocations: 361.6 kB / 0.9363 GB, free: 1.035 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0006243/0.007092, allocations: 1.037 MB / 0.9373 GB, free: 15.97 MB / 0.7137 GB Notification: Performance of [SIM] Simplify 1: time 0.0001563/0.007248, allocations: 178.7 kB / 0.9375 GB, free: 15.77 MB / 0.7137 GB Notification: Performance of [SIM] Alias: time 0.0008083/0.008056, allocations: 0.991 MB / 0.9384 GB, free: 14.66 MB / 0.7137 GB Notification: Performance of [SIM] Simplify 2: time 0.0001367/0.008193, allocations: 174.8 kB / 0.9386 GB, free: 14.46 MB / 0.7137 GB Notification: Performance of [SIM] Remove Stream: time 7.845e-05/0.008271, allocations: 138.9 kB / 0.9387 GB, free: 14.3 MB / 0.7137 GB Notification: Performance of [SIM] Detect States: time 0.000315/0.008586, allocations: 436.6 kB / 0.9391 GB, free: 13.81 MB / 0.7137 GB Notification: Performance of [SIM] Events: time 0.0001274/0.008714, allocations: 130.3 kB / 0.9393 GB, free: 13.68 MB / 0.7137 GB Notification: Performance of [SIM] Partitioning: time 0.0004694/0.009183, allocations: 0.5721 MB / 0.9398 GB, free: 13.02 MB / 0.7137 GB Notification: Performance of [SIM] Causalize: time 0.0005615/0.009745, allocations: 0.7814 MB / 0.9406 GB, free: 12.17 MB / 0.7137 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005516/0.0103, allocations: 0.8467 MB / 0.9414 GB, free: 11.32 MB / 0.7137 GB Notification: Performance of [INI] Simplify: time 0.0003444/0.01064, allocations: 412.9 kB / 0.9418 GB, free: 10.88 MB / 0.7137 GB Notification: Performance of [INI] Inline: time 0.000586/0.01123, allocations: 1.233 MB / 0.943 GB, free: 9.637 MB / 0.7137 GB Notification: Performance of [INI] Partitioning: time 3.126e-05/0.01126, allocations: 28 kB / 0.943 GB, free: 9.605 MB / 0.7137 GB Notification: Performance of [INI] Cleanup: time 0.0001338/0.01139, allocations: 259.6 kB / 0.9433 GB, free: 9.352 MB / 0.7137 GB Notification: Performance of [INI] Causalize: time 0.0009216/0.01231, allocations: 1.224 MB / 0.9445 GB, free: 8.109 MB / 0.7137 GB Notification: Performance of [INI] Tearing: time 1.784e-05/0.01233, allocations: 40 kB / 0.9445 GB, free: 8.07 MB / 0.7137 GB Notification: Performance of [SIM] Initialization: time 5.41e-07/0.01233, allocations: 0 / 0.9445 GB, free: 8.07 MB / 0.7137 GB Notification: Performance of [SIM] DAE-Mode: time 0.0004618/0.01279, allocations: 310.8 kB / 0.9448 GB, free: 7.703 MB / 0.7137 GB Notification: Performance of [SIM] Remove Dummies: time 4.198e-06/0.0128, allocations: 0 / 0.9448 GB, free: 7.703 MB / 0.7137 GB Notification: Performance of [SIM] Tearing: time 1.619e-05/0.01281, allocations: 44 kB / 0.9449 GB, free: 7.66 MB / 0.7137 GB Notification: Performance of [SIM] Categorize: time 1.36e-05/0.01283, allocations: 11.92 kB / 0.9449 GB, free: 7.648 MB / 0.7137 GB Notification: Performance of [SIM] Solve: time 0.0006614/0.01349, allocations: 0.9564 MB / 0.9458 GB, free: 6.691 MB / 0.7137 GB Notification: Performance of [SIM] Jacobian: time 0.0003418/0.01383, allocations: 0.983 MB / 0.9468 GB, free: 5.523 MB / 0.7137 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.41e-07/0.01383, allocations: 4 kB / 0.9468 GB, free: 5.52 MB / 0.7137 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.363e-05/0.01392, allocations: 51.44 kB / 0.9468 GB, free: 5.477 MB / 0.7137 GB Notification: Performance of SimCode: time 0.001622/0.01555, allocations: 1.803 MB / 0.9486 GB, free: 3.613 MB / 0.7137 GB Notification: Performance of Templates: time 0.005989/0.02154, allocations: 6.132 MB / 0.9546 GB, free: 13.53 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.644197388552129] Failed to read output from testmodel.py, exit status != 0: 0.026385007426142693 0.03388327 0.026889261 Calling exit ...