Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.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.0007304/0.0007304, 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.0008245/0.0008245, 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.802/0.802, allocations: 177.1 MB / 203.7 MB, free: 5.695 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.03196/0.03196, allocations: 9.125 MB / 269.3 MB, free: 4.402 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.0003835/0.0003835, allocations: 31.72 kB / 328.7 MB, free: 20.58 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.399/1.399, 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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.125e-05, allocations: 3.719 kB / 0.9295 GB, free: 8.074 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001336/0.001357, allocations: 0.7401 MB / 0.9302 GB, free: 7.359 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.002398, allocations: 1.278 MB / 0.9315 GB, free: 6.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.002438, allocations: 4 kB / 0.9315 GB, free: 6.066 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.00247, allocations: 11.86 kB / 0.9315 GB, free: 6.055 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.97e-05/0.002529, allocations: 19.95 kB / 0.9315 GB, free: 6.035 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006777/0.003207, allocations: 245.7 kB / 0.9318 GB, free: 5.797 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.00346, allocations: 274.2 kB / 0.932 GB, free: 5.531 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.003593, allocations: 49.05 kB / 0.9321 GB, free: 5.484 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.003719, allocations: 143.8 kB / 0.9322 GB, free: 5.344 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.387e-05/0.003813, allocations: 83.78 kB / 0.9323 GB, free: 5.262 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.003842, allocations: 24 kB / 0.9323 GB, free: 5.238 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.341e-05/0.003895, allocations: 36.7 kB / 0.9323 GB, free: 5.203 MB / 0.698 GB Notification: Performance of combineBinaries: time 0.0001459/0.004041, allocations: 282 kB / 0.9326 GB, free: 4.926 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 4.054e-05/0.004081, allocations: 120.1 kB / 0.9327 GB, free: 4.809 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.004111, allocations: 12 kB / 0.9327 GB, free: 4.797 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.147e-05/0.004122, allocations: 4 kB / 0.9327 GB, free: 4.793 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: 26 (26) * Number of variables: 26 (26) Notification: Performance of [SIM] Bindings: time 0.0005905/0.004713, allocations: 0.8331 MB / 0.9335 GB, free: 3.84 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 7.503e-05/0.004788, allocations: 104.7 kB / 0.9336 GB, free: 3.727 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0003419/0.00513, allocations: 0.6339 MB / 0.9343 GB, free: 3.066 MB / 0.698 GB Notification: Performance of [SIM] Simplify 1: time 0.000133/0.005263, allocations: 184.1 kB / 0.9344 GB, free: 2.859 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.0006599/0.005923, allocations: 0.7638 MB / 0.9352 GB, free: 2.016 MB / 0.698 GB Notification: Performance of [SIM] Simplify 2: time 9.978e-05/0.006022, allocations: 160.2 kB / 0.9353 GB, free: 1.832 MB / 0.698 GB Notification: Performance of [SIM] Remove Stream: time 8.808e-05/0.00611, allocations: 168.8 kB / 0.9355 GB, free: 1.641 MB / 0.698 GB Notification: Performance of [SIM] Detect States: time 0.000242/0.006352, allocations: 356.3 kB / 0.9358 GB, free: 1.23 MB / 0.698 GB Notification: Performance of [SIM] Events: time 7.334e-05/0.006426, allocations: 57.36 kB / 0.9359 GB, free: 1.18 MB / 0.698 GB Notification: Performance of [SIM] Partitioning: time 0.0001551/0.006581, allocations: 218.7 kB / 0.9361 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of [SIM] Causalize: time 0.0002094/0.00679, allocations: 239.5 kB / 0.9363 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002628/0.007053, allocations: 0.5307 MB / 0.9369 GB, free: 168 kB / 0.698 GB Notification: Performance of [INI] Simplify: time 0.0002987/0.007352, allocations: 401.9 kB / 0.9372 GB, free: 15.73 MB / 0.7137 GB Notification: Performance of [INI] Inline: time 0.0003173/0.007669, allocations: 0.636 MB / 0.9379 GB, free: 15.09 MB / 0.7137 GB Notification: Performance of [INI] Partitioning: time 1.486e-05/0.007684, allocations: 18 kB / 0.9379 GB, free: 15.06 MB / 0.7137 GB Notification: Performance of [INI] Cleanup: time 0.0001116/0.007795, allocations: 203.1 kB / 0.9381 GB, free: 14.87 MB / 0.7137 GB Notification: Performance of [INI] Causalize: time 0.0008329/0.008628, allocations: 0.7338 MB / 0.9388 GB, free: 14.12 MB / 0.7137 GB Notification: Performance of [INI] Tearing: time 1.123e-05/0.00864, allocations: 16 kB / 0.9388 GB, free: 14.11 MB / 0.7137 GB Notification: Performance of [SIM] Initialization: time 4.11e-07/0.00864, allocations: 0 / 0.9388 GB, free: 14.11 MB / 0.7137 GB Notification: Performance of [SIM] DAE-Mode: time 1.429e-05/0.008654, allocations: 20.12 kB / 0.9388 GB, free: 14.08 MB / 0.7137 GB Notification: Performance of [SIM] Remove Dummies: time 4.629e-06/0.008659, allocations: 4 kB / 0.9388 GB, free: 14.08 MB / 0.7137 GB Notification: Performance of [SIM] Tearing: time 3.627e-06/0.008663, allocations: 8 kB / 0.9388 GB, free: 14.07 MB / 0.7137 GB Notification: Performance of [SIM] Categorize: time 5.631e-06/0.008668, allocations: 4 kB / 0.9388 GB, free: 14.07 MB / 0.7137 GB Notification: Performance of [SIM] Solve: time 9.373e-05/0.008762, allocations: 93.89 kB / 0.9389 GB, free: 13.97 MB / 0.7137 GB Notification: Performance of [SIM] Jacobian: time 6.552e-06/0.008768, allocations: 0 / 0.9389 GB, free: 13.97 MB / 0.7137 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.21e-07/0.008769, allocations: 4 kB / 0.9389 GB, free: 13.97 MB / 0.7137 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) {latInp.y, cleInp.y, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, falCleFalIni.y, truCleTruIni.y, falCleTruIni.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 8 (8) {falCleTruIni.u, swiCleInp.clr, $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: ........... 8 (scalar:8, 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: ........... 22 (scalar:22, 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 4.344e-05/0.008812, allocations: 41.86 kB / 0.939 GB, free: 13.94 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0004441/0.009256, allocations: 488.9 kB / 0.9394 GB, free: 13.44 MB / 0.7137 GB Notification: Performance of Templates: time 0.002757/0.01201, allocations: 2.026 MB / 0.9414 GB, free: 11.45 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4065984934568405] Failed to read output from testmodel.py, exit status != 0: 0.016078121028840542 0.022680879 0.017087183000000002 Calling exit ...