Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.Utilities.Validation.OptimalStartHeating.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.0008658/0.0008658, allocations: 84.23 kB / 20.06 MB, free: 4.461 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.0009188/0.0009188, allocations: 173.9 kB / 23.36 MB, free: 1.156 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.817/0.817, allocations: 177.1 MB / 203.7 MB, free: 5.715 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.03255/0.03255, allocations: 9.127 MB / 269.3 MB, free: 4.43 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.0004153/0.0004153, allocations: 31.91 kB / 328.7 MB, free: 20.59 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.347/1.347, allocations: 275 MB / 0.6476 GB, free: 2.457 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.Utilities.Validation.OptimalStartHeating,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.Utilities.Validation.OptimalStartHeating") translateModel(AixLib.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.Utilities.Validation.OptimalStartHeating") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.667e-05, allocations: 2.312 kB / 0.9295 GB, free: 8.117 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.003641/0.003658, allocations: 4.152 MB / 0.9335 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002638/0.006296, allocations: 2.146 MB / 0.9356 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.006579, allocations: 39.69 kB / 0.9356 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.00683, allocations: 126.6 kB / 0.9358 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.00705, allocations: 133 kB / 0.9359 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.007723, allocations: 0.5276 MB / 0.9364 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.008352, allocations: 1.219 MB / 0.9376 GB, free: 15.78 MB / 0.7137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.008729, allocations: 361.5 kB / 0.9379 GB, free: 15.41 MB / 0.7137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/0.00918, allocations: 0.612 MB / 0.9385 GB, free: 14.79 MB / 0.7137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.009397, allocations: 303 kB / 0.9388 GB, free: 14.5 MB / 0.7137 GB Notification: Performance of NFPackage.collectConstants: time 8.205e-05/0.009479, allocations: 120 kB / 0.9389 GB, free: 14.38 MB / 0.7137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.00966, allocations: 227.8 kB / 0.9392 GB, free: 14.16 MB / 0.7137 GB Notification: Performance of combineBinaries: time 0.0005917/0.01025, allocations: 1.517 MB / 0.9406 GB, free: 12.62 MB / 0.7137 GB Notification: Performance of replaceArrayConstructors: time 0.0002833/0.01054, allocations: 0.9037 MB / 0.9415 GB, free: 11.71 MB / 0.7137 GB Notification: Performance of NFVerifyModel.verify: time 6.803e-05/0.0106, allocations: 60 kB / 0.9416 GB, free: 11.65 MB / 0.7137 GB Notification: Performance of FrontEnd: time 9.552e-05/0.0107, allocations: 63.36 kB / 0.9416 GB, free: 11.59 MB / 0.7137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 (191) * Number of variables: 196 (194) Notification: Performance of [SIM] Bindings: time 0.002418/0.01312, allocations: 3.978 MB / 0.9455 GB, free: 7.434 MB / 0.7137 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003776/0.01349, allocations: 0.6385 MB / 0.9462 GB, free: 6.781 MB / 0.7137 GB Notification: Performance of [SIM] Early Inline: time 0.001821/0.01532, allocations: 3.109 MB / 0.9492 GB, free: 3.641 MB / 0.7137 GB Notification: Performance of [SIM] Simplify 1: time 0.0002757/0.01559, allocations: 317.1 kB / 0.9495 GB, free: 3.293 MB / 0.7137 GB Notification: Performance of [SIM] Alias: time 0.003525/0.01912, allocations: 5.002 MB / 0.9544 GB, free: 13.71 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 0.000181/0.0193, allocations: 227.9 kB / 0.9546 GB, free: 13.46 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 0.0001386/0.01944, allocations: 244 kB / 0.9548 GB, free: 13.2 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0008397/0.02028, allocations: 0.8835 MB / 0.9557 GB, free: 12.25 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 0.0002351/0.02051, allocations: 289.9 kB / 0.956 GB, free: 11.96 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0006595/0.02117, allocations: 0.9236 MB / 0.9569 GB, free: 10.98 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.001232/0.0224, allocations: 1.572 MB / 0.9584 GB, free: 9.402 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009066/0.02331, allocations: 1.862 MB / 0.9602 GB, free: 7.539 MB / 0.7293 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.374807651154697] Failed to read output from testmodel.py, exit status != 0: 0.027849645353853703 0.035387587000000005 0.023160762 Calling exit ...