Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl.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.0007111/0.0007111, allocations: 80.25 kB / 20.05 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.0007335/0.0007335, 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.8476/0.8476, allocations: 177.1 MB / 203.7 MB, free: 5.707 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.03328/0.03328, allocations: 9.132 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.0003689/0.0003689, allocations: 27.89 kB / 328.7 MB, free: 5.777 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.479/1.479, allocations: 275 MB / 0.6476 GB, free: 2.824 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.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5184,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl") translateModel(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5184,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.207e-05, allocations: 2.312 kB / 0.9295 GB, free: 20.93 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl): time 0.001719/0.001741, allocations: 1.172 MB / 0.9307 GB, free: 20.2 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.00287, allocations: 1.267 MB / 0.9319 GB, free: 19.29 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.002925, allocations: 2.969 kB / 0.9319 GB, free: 19.29 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 4.702e-05/0.002972, allocations: 15.42 kB / 0.9319 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.003189, allocations: 32.44 kB / 0.932 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 9.52e-05/0.003284, allocations: 53.19 kB / 0.932 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.003432, allocations: 144.1 kB / 0.9322 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.003596, allocations: 78.84 kB / 0.9322 GB, free: 19.11 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 8.855e-05/0.003685, allocations: 86.97 kB / 0.9323 GB, free: 19.07 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.003777, allocations: 49.84 kB / 0.9324 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.0038, allocations: 18.12 kB / 0.9324 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 7.228e-05/0.003872, allocations: 23.77 kB / 0.9324 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of combineBinaries: time 0.0001335/0.004006, allocations: 270.8 kB / 0.9327 GB, free: 18.88 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 4.527e-05/0.004051, allocations: 158.5 kB / 0.9328 GB, free: 18.78 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.004068, allocations: 8.844 kB / 0.9328 GB, free: 18.78 MB / 0.7293 GB Notification: Performance of FrontEnd: time 2.425e-05/0.004092, allocations: 11.53 kB / 0.9328 GB, free: 18.77 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: 38 (38) * Number of variables: 42 (42) Notification: Performance of [SIM] Bindings: time 0.0006158/0.004708, allocations: 0.7959 MB / 0.9336 GB, free: 18.12 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001568/0.004865, allocations: 120.9 kB / 0.9337 GB, free: 18.04 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.000336/0.005201, allocations: 0.5183 MB / 0.9342 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 8.25e-05/0.005283, allocations: 90.12 kB / 0.9343 GB, free: 17.62 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.001163/0.006447, allocations: 1.113 MB / 0.9354 GB, free: 16.96 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 3.879e-05/0.006485, allocations: 59.8 kB / 0.9355 GB, free: 16.9 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 3.085e-05/0.006516, allocations: 58.95 kB / 0.9355 GB, free: 16.83 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0001555/0.006672, allocations: 177.1 kB / 0.9357 GB, free: 16.64 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 9.157e-05/0.006763, allocations: 77.28 kB / 0.9358 GB, free: 16.6 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0001802/0.006944, allocations: 207.3 kB / 0.936 GB, free: 16.46 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0003262/0.00727, allocations: 331.3 kB / 0.9363 GB, free: 16.38 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001807/0.007451, allocations: 307.9 kB / 0.9366 GB, free: 16.22 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0001731/0.007624, allocations: 158.6 kB / 0.9367 GB, free: 16.08 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0002667/0.00789, allocations: 463.7 kB / 0.9372 GB, free: 15.83 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 1.475e-05/0.007905, allocations: 19.67 kB / 0.9372 GB, free: 15.81 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 5.135e-05/0.007956, allocations: 79.08 kB / 0.9373 GB, free: 15.76 MB / 0.7293 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) Boolean andIsOn.u1 [ALGB] (1) Real swi.y [ALGB] (1) Real optDefWuEtAl.relHum [ALGB] (1) Real hys.u Following equations were created by fixing variables: Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.743767532519996] Failed to read output from testmodel.py, exit status != 0: 0.013333674520254135 0.022082173 0.016265348000000002 Calling exit ...