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.001551/0.001551, allocations: 74.72 kB / 19.96 MB, free: 1.453 MB / 14.72 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.001719/0.001719, allocations: 170.7 kB / 23.24 MB, free: 4.473 MB / 14.72 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 1.407/1.407, allocations: 177.2 MB / 203.6 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.05851/0.05851, allocations: 9.144 MB / 269.2 MB, free: 7.914 MB / 254.1 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.0006716/0.0006716, allocations: 27.94 kB / 328.6 MB, free: 42.34 MB / 286.1 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 2.301/2.301, allocations: 275.1 MB / 0.6477 GB, free: 6.211 MB / 0.4982 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 177] 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 1.517e-05/1.517e-05, allocations: 2.281 kB / 0.9295 GB, free: 22.48 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost): time 0.002421/0.002436, allocations: 1.87 MB / 0.9313 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007695/0.003205, allocations: 495.2 kB / 0.9318 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.00327, allocations: 6 kB / 0.9318 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.845e-05/0.003338, allocations: 15.98 kB / 0.9318 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.003566, allocations: 28 kB / 0.9318 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.489e-05/0.003661, allocations: 53.67 kB / 0.9319 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.003839, allocations: 164.8 kB / 0.932 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.004017, allocations: 89.61 kB / 0.9321 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.004138, allocations: 94.95 kB / 0.9322 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.004223, allocations: 50.34 kB / 0.9323 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.004257, allocations: 14.88 kB / 0.9323 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.63e-05/0.004333, allocations: 30.88 kB / 0.9323 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001674/0.004501, allocations: 273.6 kB / 0.9326 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 7.274e-05/0.004573, allocations: 171.6 kB / 0.9327 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.004605, allocations: 13.25 kB / 0.9327 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.294e-05/0.004628, allocations: 12.12 kB / 0.9328 GB, free: 20.34 MB / 0.7325 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.0008702/0.005498, allocations: 0.8215 MB / 0.9336 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001656/0.005664, allocations: 128.7 kB / 0.9337 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0003819/0.006045, allocations: 498.5 kB / 0.9342 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.0001173/0.006163, allocations: 88.94 kB / 0.9342 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.001226/0.007389, allocations: 1.084 MB / 0.9353 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 5.497e-05/0.007444, allocations: 65.69 kB / 0.9354 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 4.525e-05/0.007489, allocations: 64.77 kB / 0.9354 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0002141/0.007703, allocations: 193.4 kB / 0.9356 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 0.0001515/0.007855, allocations: 124.2 kB / 0.9357 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0002965/0.008151, allocations: 264 kB / 0.936 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.00061/0.008761, allocations: 461.5 kB / 0.9364 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002841/0.009045, allocations: 390 kB / 0.9368 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0002579/0.009303, allocations: 212.1 kB / 0.937 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0003714/0.009674, allocations: 485.7 kB / 0.9375 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 3.015e-05/0.009705, allocations: 27.33 kB / 0.9375 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 8.246e-05/0.009787, allocations: 103.4 kB / 0.9376 GB, free: 17.04 MB / 0.7325 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: 5.30215048417449] Failed to read output from testmodel.py, exit status != 0: 0.016536984592676163 0.027731835000000003 0.020720103 Calling exit ...