Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost.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.0007894/0.0007894, allocations: 84.23 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.00116/0.00116, 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.855/0.855, 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.03372/0.03372, allocations: 9.132 MB / 269.3 MB, free: 4.434 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.0004151/0.0004151, allocations: 27.95 kB / 328.7 MB, free: 5.781 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.471/1.471, allocations: 275 MB / 0.6476 GB, free: 2.812 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.ZhuTimeBasedDefrost,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5184,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost") translateModel(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5184,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.343e-05, allocations: 4.938 kB / 0.9295 GB, free: 20.78 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost): time 0.00238/0.002404, allocations: 1.874 MB / 0.9314 GB, free: 19.51 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.000756/0.00316, allocations: 490.8 kB / 0.9318 GB, free: 19.19 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.003227, allocations: 2.938 kB / 0.9318 GB, free: 19.19 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 5.888e-05/0.003286, allocations: 24.16 kB / 0.9319 GB, free: 19.17 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.003566, allocations: 31.47 kB / 0.9319 GB, free: 19.15 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 9.758e-05/0.003664, allocations: 49.81 kB / 0.9319 GB, free: 19.12 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.003839, allocations: 160.4 kB / 0.9321 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.004033, allocations: 87.09 kB / 0.9322 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.004143, allocations: 91.09 kB / 0.9323 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 8.602e-05/0.004229, allocations: 53.69 kB / 0.9323 GB, free: 18.94 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.004258, allocations: 16.03 kB / 0.9323 GB, free: 18.94 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-05/0.004335, allocations: 22.33 kB / 0.9323 GB, free: 18.94 MB / 0.7293 GB Notification: Performance of combineBinaries: time 0.0001376/0.004472, allocations: 281.4 kB / 0.9326 GB, free: 18.75 MB / 0.7293 GB Notification: Performance of replaceArrayConstructors: time 5.475e-05/0.004527, allocations: 175.3 kB / 0.9328 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.004554, allocations: 9.156 kB / 0.9328 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of FrontEnd: time 3.158e-05/0.004586, allocations: 11.81 kB / 0.9328 GB, free: 18.63 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: 43 (43) * Number of variables: 47 (47) Notification: Performance of [SIM] Bindings: time 0.0007861/0.005372, allocations: 0.8136 MB / 0.9336 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001896/0.005561, allocations: 136 kB / 0.9337 GB, free: 17.88 MB / 0.7293 GB Notification: Performance of [SIM] Early Inline: time 0.0003196/0.005881, allocations: 0.4892 MB / 0.9342 GB, free: 17.56 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 1: time 0.0001128/0.005994, allocations: 80.67 kB / 0.9343 GB, free: 17.49 MB / 0.7293 GB Notification: Performance of [SIM] Alias: time 0.001178/0.007172, allocations: 1.118 MB / 0.9354 GB, free: 16.75 MB / 0.7293 GB Notification: Performance of [SIM] Simplify 2: time 4.858e-05/0.00722, allocations: 61.5 kB / 0.9354 GB, free: 16.68 MB / 0.7293 GB Notification: Performance of [SIM] Remove Stream: time 3.518e-05/0.007255, allocations: 72.33 kB / 0.9355 GB, free: 16.6 MB / 0.7293 GB Notification: Performance of [SIM] Detect States: time 0.0002042/0.007459, allocations: 184.5 kB / 0.9357 GB, free: 16.41 MB / 0.7293 GB Notification: Performance of [SIM] Events: time 0.0001381/0.007598, allocations: 128.2 kB / 0.9358 GB, free: 16.34 MB / 0.7293 GB Notification: Performance of [SIM] Partitioning: time 0.0002404/0.007838, allocations: 259.9 kB / 0.936 GB, free: 16.18 MB / 0.7293 GB Notification: Performance of [SIM] Causalize: time 0.0005128/0.008351, allocations: 498 kB / 0.9365 GB, free: 16.06 MB / 0.7293 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002285/0.008579, allocations: 394.3 kB / 0.9369 GB, free: 15.85 MB / 0.7293 GB Notification: Performance of [INI] Simplify: time 0.0002415/0.008821, allocations: 198.5 kB / 0.9371 GB, free: 15.68 MB / 0.7293 GB Notification: Performance of [INI] Inline: time 0.0002916/0.009112, allocations: 493.6 kB / 0.9376 GB, free: 15.41 MB / 0.7293 GB Notification: Performance of [INI] Partitioning: time 2.409e-05/0.009136, allocations: 36.31 kB / 0.9376 GB, free: 15.38 MB / 0.7293 GB Notification: Performance of [INI] Cleanup: time 5.974e-05/0.009196, allocations: 96.42 kB / 0.9377 GB, free: 15.31 MB / 0.7293 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [ALGB] (1) Real froZon.relHumMil = AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost.froZon.poly_fit(froZon.coeff_mild, froZon.TOda - 273.15) [ALGB] (1) Real froZon.relHum [DISC] (1) Boolean swi.u2 [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.79675161652267] Failed to read output from testmodel.py, exit status != 0: 0.015104088000953197 0.024049152 0.017613292000000003 Calling exit ...