Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.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.0008324/0.0008324, 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.0009426/0.0009426, 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.8128/0.8128, 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.03162/0.03162, allocations: 9.125 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.0003902/0.0003902, allocations: 31.72 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.384/1.384, allocations: 275 MB / 0.6476 GB, free: 2.473 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.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.763e-05, allocations: 3.297 kB / 0.9295 GB, free: 8.113 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0012/0.001217, allocations: 0.6297 MB / 0.9301 GB, free: 7.512 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.002568, allocations: 1.231 MB / 0.9313 GB, free: 6.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.002618, allocations: 0 / 0.9313 GB, free: 6.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.002651, allocations: 3.938 kB / 0.9313 GB, free: 6.266 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.695e-05/0.002738, allocations: 16.77 kB / 0.9313 GB, free: 6.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.003301, allocations: 213.3 kB / 0.9315 GB, free: 6.043 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.003519, allocations: 180.5 kB / 0.9317 GB, free: 5.867 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.003658, allocations: 12.55 kB / 0.9317 GB, free: 5.855 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.003795, allocations: 95.86 kB / 0.9318 GB, free: 5.762 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.003906, allocations: 52.34 kB / 0.9319 GB, free: 5.711 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.003937, allocations: 16.56 kB / 0.9319 GB, free: 5.695 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.004008, allocations: 20 kB / 0.9319 GB, free: 5.676 MB / 0.698 GB Notification: Performance of combineBinaries: time 0.0001284/0.004136, allocations: 160.4 kB / 0.9321 GB, free: 5.52 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 2.25e-05/0.004159, allocations: 43.44 kB / 0.9321 GB, free: 5.477 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.004198, allocations: 16 kB / 0.9321 GB, free: 5.461 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.805e-05/0.004216, allocations: 9.5 kB / 0.9321 GB, free: 5.453 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0006639/0.00488, allocations: 0.5355 MB / 0.9326 GB, free: 4.797 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 6.105e-05/0.004941, allocations: 52.75 kB / 0.9327 GB, free: 4.734 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0002256/0.005167, allocations: 364.6 kB / 0.933 GB, free: 4.352 MB / 0.698 GB Notification: Performance of [SIM] Simplify 1: time 0.0001233/0.00529, allocations: 145 kB / 0.9332 GB, free: 4.184 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.0004289/0.005719, allocations: 338.5 kB / 0.9335 GB, free: 3.789 MB / 0.698 GB Notification: Performance of [SIM] Simplify 2: time 9.022e-05/0.005809, allocations: 140.3 kB / 0.9336 GB, free: 3.625 MB / 0.698 GB Notification: Performance of [SIM] Remove Stream: time 8.108e-05/0.00589, allocations: 144.2 kB / 0.9338 GB, free: 3.457 MB / 0.698 GB Notification: Performance of [SIM] Detect States: time 0.0004678/0.006358, allocations: 266 kB / 0.934 GB, free: 3.133 MB / 0.698 GB Notification: Performance of [SIM] Events: time 7.965e-05/0.006438, allocations: 48.47 kB / 0.9341 GB, free: 3.09 MB / 0.698 GB Notification: Performance of [SIM] Partitioning: time 0.0001039/0.006542, allocations: 104.5 kB / 0.9342 GB, free: 2.953 MB / 0.698 GB Notification: Performance of [SIM] Causalize: time 0.00014/0.006682, allocations: 116 kB / 0.9343 GB, free: 2.832 MB / 0.698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000168/0.00685, allocations: 349.4 kB / 0.9346 GB, free: 2.492 MB / 0.698 GB Notification: Performance of [INI] Simplify: time 0.0002305/0.00708, allocations: 276.7 kB / 0.9349 GB, free: 2.176 MB / 0.698 GB Notification: Performance of [INI] Inline: time 0.0001813/0.007262, allocations: 375.7 kB / 0.9352 GB, free: 1.805 MB / 0.698 GB Notification: Performance of [INI] Partitioning: time 1.045e-05/0.007272, allocations: 12.12 kB / 0.9353 GB, free: 1.785 MB / 0.698 GB Notification: Performance of [INI] Cleanup: time 7.371e-05/0.007346, allocations: 124.7 kB / 0.9354 GB, free: 1.664 MB / 0.698 GB Notification: Performance of [INI] Causalize: time 0.0002243/0.00757, allocations: 209.9 kB / 0.9356 GB, free: 1.453 MB / 0.698 GB Notification: Performance of [INI] Tearing: time 1.091e-05/0.007581, allocations: 8 kB / 0.9356 GB, free: 1.445 MB / 0.698 GB Notification: Performance of [SIM] Initialization: time 6.31e-07/0.007581, allocations: 0 / 0.9356 GB, free: 1.445 MB / 0.698 GB Notification: Performance of [SIM] DAE-Mode: time 1.383e-05/0.007595, allocations: 8.125 kB / 0.9356 GB, free: 1.43 MB / 0.698 GB Notification: Performance of [SIM] Remove Dummies: time 6.913e-06/0.007602, allocations: 0 / 0.9356 GB, free: 1.43 MB / 0.698 GB Notification: Performance of [SIM] Tearing: time 3.076e-06/0.007605, allocations: 12 kB / 0.9356 GB, free: 1.418 MB / 0.698 GB Notification: Performance of [SIM] Categorize: time 7.033e-06/0.007612, allocations: 0 / 0.9356 GB, free: 1.418 MB / 0.698 GB Notification: Performance of [SIM] Solve: time 5.508e-05/0.007667, allocations: 41.92 kB / 0.9356 GB, free: 1.379 MB / 0.698 GB Notification: Performance of [SIM] Jacobian: time 7.564e-06/0.007675, allocations: 4 kB / 0.9356 GB, free: 1.375 MB / 0.698 GB Notification: Performance of [SIM] Minimize Homotopy System: time 1.062e-06/0.007676, allocations: 3.984 kB / 0.9356 GB, free: 1.371 MB / 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: ......... 1 * 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: .................... 2 (2) {booPul2.y, booPul1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {nor1.y, $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: ........... 6 (scalar:6, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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.31e-05/0.007709, allocations: 27.45 kB / 0.9357 GB, free: 1.355 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004316/0.008141, allocations: 331.9 kB / 0.936 GB, free: 1.008 MB / 0.698 GB Notification: Performance of Templates: time 0.002595/0.01074, allocations: 1.669 MB / 0.9376 GB, free: 15.37 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.407004676759243] Failed to read output from testmodel.py, exit status != 0: 0.014928006567060947 0.023273203000000003 0.017458191 Calling exit ...