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.001517/0.001517, allocations: 78.19 kB / 19.96 MB, free: 1.945 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.001632/0.001632, allocations: 168.4 kB / 23.23 MB, free: 4.965 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.388/1.388, allocations: 177.2 MB / 203.6 MB, free: 9.188 MB / 190.1 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.05797/0.05797, allocations: 9.156 MB / 269.2 MB, free: 7.926 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.0006751/0.0006751, allocations: 35.16 kB / 328.6 MB, free: 42.35 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.29/2.29, 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.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 1.529e-05/1.529e-05, allocations: 5.797 kB / 0.9295 GB, free: 22.48 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl): time 0.002021/0.002036, allocations: 1.17 MB / 0.9306 GB, free: 21.76 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.003398, allocations: 1.262 MB / 0.9319 GB, free: 20.85 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.003467, allocations: 6.219 kB / 0.9319 GB, free: 20.85 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.23e-05/0.00353, allocations: 15.61 kB / 0.9319 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.003755, allocations: 32.62 kB / 0.9319 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.003864, allocations: 49.19 kB / 0.9319 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.004025, allocations: 156.2 kB / 0.9321 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.004199, allocations: 75.72 kB / 0.9322 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.712e-05/0.004297, allocations: 82.5 kB / 0.9322 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.004406, allocations: 50.83 kB / 0.9323 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.004437, allocations: 12.88 kB / 0.9323 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.00452, allocations: 36.64 kB / 0.9323 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001722/0.004692, allocations: 269.2 kB / 0.9326 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 7.948e-05/0.004771, allocations: 155.7 kB / 0.9327 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.004791, allocations: 13.03 kB / 0.9328 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.05e-05/0.004811, allocations: 11.16 kB / 0.9328 GB, free: 20.32 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: 38 (38) * Number of variables: 42 (42) Notification: Performance of [SIM] Bindings: time 0.0008007/0.005612, allocations: 0.7919 MB / 0.9335 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.000163/0.005775, allocations: 126.4 kB / 0.9337 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.0004026/0.006178, allocations: 0.5166 MB / 0.9342 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 9.616e-05/0.006274, allocations: 88.55 kB / 0.9343 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.001306/0.00758, allocations: 1.098 MB / 0.9353 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 4.977e-05/0.007629, allocations: 51.77 kB / 0.9354 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 3.978e-05/0.007669, allocations: 55.91 kB / 0.9354 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0001621/0.007831, allocations: 167.6 kB / 0.9356 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 0.0001031/0.007934, allocations: 85.97 kB / 0.9357 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0002183/0.008153, allocations: 209.4 kB / 0.9359 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.0003793/0.008532, allocations: 311.5 kB / 0.9362 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002264/0.008758, allocations: 315 kB / 0.9365 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.0001934/0.008952, allocations: 155.6 kB / 0.9366 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.0003346/0.009286, allocations: 460.1 kB / 0.9371 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 1.952e-05/0.009306, allocations: 15.06 kB / 0.9371 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 6.8e-05/0.009374, allocations: 80.02 kB / 0.9371 GB, free: 17.33 MB / 0.7325 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: 5.243383843451738] Failed to read output from testmodel.py, exit status != 0: 0.01581893116235733 0.026699329 0.019554648 Calling exit ...