Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.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.0008895/0.0008895, allocations: 80.25 kB / 20.06 MB, free: 4.457 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.0008897/0.0008897, allocations: 173.9 kB / 23.36 MB, free: 1.152 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.8219/0.8219, allocations: 177.1 MB / 203.7 MB, free: 5.711 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.03326/0.03326, allocations: 9.12 MB / 269.2 MB, free: 4.426 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.000416/0.000416, allocations: 31.45 kB / 328.7 MB, free: 5.785 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.387/1.387, allocations: 274.9 MB / 0.6476 GB, free: 2.809 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.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.701e-05, allocations: 2.312 kB / 0.9295 GB, free: 20.93 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001204/0.001221, allocations: 0.7472 MB / 0.9302 GB, free: 20.46 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002288, allocations: 1.376 MB / 0.9316 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.002326, allocations: 1.281 kB / 0.9316 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.002353, allocations: 13.97 kB / 0.9316 GB, free: 19.47 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.002402, allocations: 20.39 kB / 0.9316 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.002844, allocations: 311.9 kB / 0.9319 GB, free: 19.29 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0005439/0.003388, allocations: 380.9 kB / 0.9323 GB, free: 19.13 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.00358, allocations: 51.84 kB / 0.9323 GB, free: 19.1 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.003905, allocations: 218.9 kB / 0.9325 GB, free: 19 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.004079, allocations: 112.3 kB / 0.9326 GB, free: 18.97 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.004123, allocations: 35.16 kB / 0.9327 GB, free: 18.97 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 8.333e-05/0.004207, allocations: 45.92 kB / 0.9327 GB, free: 18.97 MB / 0.7293 GB Notification: Performance of combineBinaries: time 0.0001987/0.004405, allocations: 391.8 kB / 0.9331 GB, free: 18.74 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 3.83e-05/0.004444, allocations: 119.6 kB / 0.9332 GB, free: 18.67 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.00449, allocations: 21.56 kB / 0.9332 GB, free: 18.67 MB / 0.7293 GB Notification: Performance of FrontEnd: time 2.257e-05/0.004513, allocations: 2.812 kB / 0.9332 GB, free: 18.67 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: 26 (26) * Number of variables: 26 (26) Notification: Performance of [SIM] Bindings: time 0.0007834/0.005296, allocations: 1.085 MB / 0.9343 GB, free: 17.93 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001736/0.00547, allocations: 260.8 kB / 0.9345 GB, free: 17.79 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.0006019/0.006072, allocations: 1.013 MB / 0.9355 GB, free: 17.24 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 0.0002126/0.006284, allocations: 222 kB / 0.9357 GB, free: 17.13 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.0009546/0.007239, allocations: 1.013 MB / 0.9367 GB, free: 16.56 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 0.0001583/0.007397, allocations: 213.3 kB / 0.9369 GB, free: 16.46 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 0.0001351/0.007532, allocations: 221 kB / 0.9371 GB, free: 16.32 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0004342/0.007966, allocations: 0.5812 MB / 0.9377 GB, free: 15.94 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 0.0002393/0.008206, allocations: 296.8 kB / 0.938 GB, free: 15.78 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0003794/0.008585, allocations: 0.5262 MB / 0.9385 GB, free: 15.5 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0006558/0.009241, allocations: 0.7221 MB / 0.9392 GB, free: 15.32 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007105/0.009951, allocations: 1.304 MB / 0.9405 GB, free: 14.63 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0004504/0.0104, allocations: 0.4909 MB / 0.941 GB, free: 14.34 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0007449/0.01115, allocations: 1.433 MB / 0.9424 GB, free: 13.56 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 2.895e-05/0.01118, allocations: 34.72 kB / 0.9424 GB, free: 13.53 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 0.0002115/0.01139, allocations: 360.9 kB / 0.9427 GB, free: 13.33 MB / 0.7293 GB Notification: Performance of [INI] Causalize: time 0.001028/0.01242, allocations: 1.178 MB / 0.9439 GB, free: 13.04 MB / 0.7293 GB Notification: Performance of [INI] Tearing: time 1.654e-05/0.01243, allocations: 37.41 kB / 0.9439 GB, free: 13.02 MB / 0.7293 GB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.01243, allocations: 0 / 0.9439 GB, free: 13.02 MB / 0.7293 GB Notification: Performance of [SIM] DAE-Mode: time 2.461e-05/0.01246, allocations: 25.38 kB / 0.944 GB, free: 12.99 MB / 0.7293 GB Notification: Performance of [SIM] Remove Dummies: time 4.639e-06/0.01246, allocations: 0 / 0.944 GB, free: 12.99 MB / 0.7293 GB Notification: Performance of [SIM] Tearing: time 6.542e-06/0.01247, allocations: 35.44 kB / 0.944 GB, free: 12.96 MB / 0.7293 GB Notification: Performance of [SIM] Categorize: time 8.345e-06/0.01248, allocations: 1.438 kB / 0.944 GB, free: 12.96 MB / 0.7293 GB Notification: Performance of [SIM] Solve: time 0.00028/0.01276, allocations: 343.7 kB / 0.9443 GB, free: 12.83 MB / 0.7293 GB Notification: Performance of [SIM] Jacobian: time 7.244e-06/0.01276, allocations: 0 / 0.9443 GB, free: 12.83 MB / 0.7293 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.71e-07/0.01276, allocations: 0 / 0.9443 GB, free: 12.83 MB / 0.7293 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: .................... 8 (8) {togInp.y, cleInp.y, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, truCleTruIni.y, falCleFalIni.y, falCleTruIni.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 36 (36) {falCleTruIni.u, falCleTruIni.clr, falCleFalIni.u, falCleFalIni.clr, truCleTruIni.u, truCleTruIni.clr, truCleFalIni.u, truCleFalIni.clr, swiCleInp.u, swiCleInp.clr, swiCleInp1.u, swiCleInp1.clr, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $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: ........... 36 (scalar:36, 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: ........... 58 (scalar:58, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:8, 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 8.498e-05/0.01285, allocations: 57.42 kB / 0.9444 GB, free: 12.79 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0007622/0.01361, allocations: 0.7188 MB / 0.9451 GB, free: 12.44 MB / 0.7293 GB Notification: Performance of Templates: time 0.005226/0.01884, allocations: 3.786 MB / 0.9488 GB, free: 12.09 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4865733832120895] Failed to read output from testmodel.py, exit status != 0: 0.023195342160761356 0.030753055 0.024698633 Calling exit ...