Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.000717/0.000717, 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.0007935/0.0007935, 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.793/0.793, 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/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.03258/0.03258, allocations: 9.113 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.0003611/0.0003611, allocations: 19.97 kB / 328.7 MB, free: 20.6 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.342/1.342, allocations: 275 MB / 0.6476 GB, free: 2.5 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.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.801e-05, allocations: 2.859 kB / 0.9296 GB, free: 8.031 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001222/0.00124, allocations: 0.8064 MB / 0.9304 GB, free: 7.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.002019, allocations: 0.918 MB / 0.9313 GB, free: 6.32 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.002059, allocations: 3.938 kB / 0.9313 GB, free: 6.316 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.002087, allocations: 8.562 kB / 0.9313 GB, free: 6.309 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.528e-05/0.002163, allocations: 25.12 kB / 0.9313 GB, free: 6.285 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.002359, allocations: 39.88 kB / 0.9313 GB, free: 6.246 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.002469, allocations: 125.8 kB / 0.9314 GB, free: 6.125 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.002564, allocations: 21.23 kB / 0.9315 GB, free: 6.105 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.002718, allocations: 85.7 kB / 0.9316 GB, free: 6.023 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.866e-05/0.002777, allocations: 39.89 kB / 0.9316 GB, free: 5.984 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.002795, allocations: 12 kB / 0.9316 GB, free: 5.973 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.688e-05/0.002832, allocations: 12 kB / 0.9316 GB, free: 5.961 MB / 0.698 GB Notification: Performance of combineBinaries: time 0.0001053/0.002937, allocations: 186.2 kB / 0.9318 GB, free: 5.777 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 3.702e-05/0.002974, allocations: 111.5 kB / 0.9319 GB, free: 5.668 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.454e-05/0.002989, allocations: 8 kB / 0.9319 GB, free: 5.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.355e-05/0.003002, allocations: 5.062 kB / 0.9319 GB, free: 5.656 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: 13 (13) * Number of variables: 13 (13) Notification: Performance of [SIM] Bindings: time 0.0004788/0.003481, allocations: 0.6061 MB / 0.9325 GB, free: 4.93 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001386/0.00362, allocations: 115.5 kB / 0.9326 GB, free: 4.809 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0002488/0.003868, allocations: 406.2 kB / 0.933 GB, free: 4.391 MB / 0.698 GB Notification: Performance of [SIM] Simplify 1: time 5.85e-05/0.003927, allocations: 68.36 kB / 0.9331 GB, free: 4.297 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.0004417/0.004369, allocations: 444.4 kB / 0.9335 GB, free: 3.777 MB / 0.698 GB Notification: Performance of [SIM] Simplify 2: time 4.196e-05/0.004411, allocations: 65.73 kB / 0.9335 GB, free: 3.688 MB / 0.698 GB Notification: Performance of [SIM] Remove Stream: time 3.536e-05/0.004446, allocations: 64.41 kB / 0.9336 GB, free: 3.598 MB / 0.698 GB Notification: Performance of [SIM] Detect States: time 0.0001562/0.004602, allocations: 199.2 kB / 0.9338 GB, free: 3.34 MB / 0.698 GB Notification: Performance of [SIM] Events: time 9.156e-05/0.004694, allocations: 83.36 kB / 0.9339 GB, free: 3.27 MB / 0.698 GB Notification: Performance of [SIM] Partitioning: time 0.0001621/0.004856, allocations: 225.9 kB / 0.9341 GB, free: 3 MB / 0.698 GB Notification: Performance of [SIM] Causalize: time 0.0002337/0.00509, allocations: 268.6 kB / 0.9344 GB, free: 2.715 MB / 0.698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001586/0.005248, allocations: 345.7 kB / 0.9347 GB, free: 2.379 MB / 0.698 GB Notification: Performance of [INI] Simplify: time 0.0001384/0.005387, allocations: 168.4 kB / 0.9348 GB, free: 2.164 MB / 0.698 GB Notification: Performance of [INI] Inline: time 0.0002164/0.005603, allocations: 475.6 kB / 0.9353 GB, free: 1.695 MB / 0.698 GB Notification: Performance of [INI] Partitioning: time 1.177e-05/0.005615, allocations: 12.72 kB / 0.9353 GB, free: 1.676 MB / 0.698 GB Notification: Performance of [INI] Cleanup: time 5.156e-05/0.005666, allocations: 92.47 kB / 0.9354 GB, free: 1.586 MB / 0.698 GB Notification: Performance of [INI] Causalize: time 0.0002812/0.005947, allocations: 335.9 kB / 0.9357 GB, free: 1.25 MB / 0.698 GB Notification: Performance of [INI] Tearing: time 1.257e-05/0.00596, allocations: 16 kB / 0.9357 GB, free: 1.234 MB / 0.698 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.00596, allocations: 0 / 0.9357 GB, free: 1.234 MB / 0.698 GB Notification: Performance of [SIM] DAE-Mode: time 7.482e-05/0.006035, allocations: 77.22 kB / 0.9358 GB, free: 1.137 MB / 0.698 GB Notification: Performance of [SIM] Remove Dummies: time 3.556e-06/0.006039, allocations: 0 / 0.9358 GB, free: 1.137 MB / 0.698 GB Notification: Performance of [SIM] Tearing: time 5.901e-06/0.006045, allocations: 20 kB / 0.9358 GB, free: 1.117 MB / 0.698 GB Notification: Performance of [SIM] Categorize: time 9.527e-06/0.006054, allocations: 7.969 kB / 0.9358 GB, free: 1.109 MB / 0.698 GB Notification: Performance of [SIM] Solve: time 0.0001829/0.006237, allocations: 239.8 kB / 0.9361 GB, free: 0.875 MB / 0.698 GB Notification: Performance of [SIM] Jacobian: time 0.0001955/0.006433, allocations: 0.5453 MB / 0.9366 GB, free: 224 kB / 0.698 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.81e-07/0.006433, allocations: 4 kB / 0.9366 GB, free: 220 kB / 0.698 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: ......... 3 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 10 (10) {hysteresis.y, hysteresis1.y, hysteresis2.y, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $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: ........... 17 (scalar:17, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 20 (scalar:20, 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 3.307e-05/0.006466, allocations: 35.98 kB / 0.9366 GB, free: 196 kB / 0.698 GB Notification: Performance of SimCode: time 0.0005494/0.007016, allocations: 0.5202 MB / 0.9371 GB, free: 15.62 MB / 0.7137 GB Notification: Performance of Templates: time 0.002342/0.009357, allocations: 1.309 MB / 0.9384 GB, free: 14.33 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.663786459714174] Failed to read output from testmodel.py, exit status != 0: 0.014378992840647697 0.021643259 0.017120836 Calling exit ...