Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TransiEnt_TransiEnt.Storage.Heat.ElectricWaterHeater_constProp_L4.ElectricWaterHeater_constProp_L4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.141/3.141, allocations: 0.5003 GB / 0.5232 GB, free: 6.613 MB / 414.1 MB " [Timeout remaining time 176] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo): time 0.0008704/0.0008704, allocations: 33.11 kB / 0.6489 GB, free: 10.94 MB / 0.4981 GB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01163/0.01163, allocations: 1.756 MB / 0.7763 GB, free: 8.355 MB / 0.6231 GB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7511/0.7511, allocations: 130.7 MB / 1.03 GB, free: 90.57 MB / 0.7012 GB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaReference 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaReference 4.0.0+maint.om/package.mo): time 0.01274/0.01274, allocations: 0.8826 MB / 1.184 GB, free: 109.5 MB / 0.7169 GB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0/package.mo): time 0.3336/0.3336, allocations: 45.3 MB / 1.382 GB, free: 5.234 MB / 0.8107 GB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.1/package.mo): time 0.09896/0.09896, allocations: 13.78 MB / 1.558 GB, free: 227.3 MB / 0.8888 GB " [Timeout remaining time 180] 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.001306/0.001306, allocations: 100.5 kB / 1.725 GB, free: 57.2 MB / 0.8888 GB " [Timeout remaining time 179] 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.001772/0.001772, allocations: 208.7 kB / 1.891 GB, free: 259.5 MB / 0.92 GB " [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.953/1.953, allocations: 230.6 MB / 2.282 GB, free: 80.31 MB / 0.9357 GB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Design master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Design master/package.mo): time 0.0007682/0.0007682, allocations: 31.94 kB / 2.5 GB, free: 6.332 MB / 1.076 GB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DataFiles master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DataFiles master/package.mo): time 0.0007962/0.0007962, allocations: 36.81 kB / 2.718 GB, free: 285.8 MB / 1.17 GB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TransiEnt master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TransiEnt master/package.mo): time 2.486/2.486, allocations: 223.4 MB / 3.154 GB, free: 107 MB / 1.217 GB " [Timeout remaining time 177] Using package TransiEnt with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TransiEnt master/package.mo) Using package DataFiles with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DataFiles master/package.mo) Using package Design with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Design master/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) Using package Modelica_StateGraph2 with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.1/package.mo) Using package Modelica_LinearSystems2 with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 2.4.0/package.mo) Using package ModelicaReference with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaReference 4.0.0+maint.om/package.mo) Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Using package DymolaCommands with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo) Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Running command: "" <> buildModelFMU(TransiEnt.Storage.Heat.ElectricWaterHeater_constProp_L4.ElectricWaterHeater_constProp_L4,fileNamePrefix="TransiEnt_TransiEnt_Storage_Heat_ElectricWaterHeater_constProp_L4_ElectricWaterHeater_constProp_L4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(TransiEnt.Storage.Heat.ElectricWaterHeater_constProp_L4.ElectricWaterHeater_constProp_L4,fileNamePrefix="TransiEnt_TransiEnt_Storage_Heat_ElectricWaterHeater_constProp_L4_ElectricWaterHeater_constProp_L4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Modelica_LinearSystems2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: TransiEnt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: TransiEnt requested package Modelica_StateGraph2 of version 2.1.0. Modelica_StateGraph2 2.1.1 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.8.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: TransiEnt requested package ClaRa of version 1.8.0. ClaRa 1.9.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(TransiEnt, ClaRa, \"1.9.0\") to run the conversion script or proceed with potential issues as a result. Warning: TransiEnt requested package Buildings of version 9.0.0. Buildings 13.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(TransiEnt, Buildings, \"13.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.04524/0.04524, allocations: 20.85 MB / 3.726 GB, free: 102.9 MB / 1.514 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7527/0.798, allocations: 267.7 MB / 3.987 GB, free: 12.27 MB / 1.608 GB Notification: Performance of NFInst.instantiate(TransiEnt.Storage.Heat.ElectricWaterHeater_constProp_L4.ElectricWaterHeater_constProp_L4): time 0.004714/0.8027, allocations: 2.341 MB / 3.99 GB, free: 9.906 MB / 1.608 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.8037, allocations: 371.3 kB / 3.99 GB, free: 9.543 MB / 1.608 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.417e-05/0.8038, allocations: 3.938 kB / 3.99 GB, free: 9.539 MB / 1.608 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.804, allocations: 19.78 kB / 3.99 GB, free: 9.52 MB / 1.608 GB Notification: Performance of NFTyping.typeBindings: time 0.0006409/0.8046, allocations: 179.3 kB / 3.99 GB, free: 9.344 MB / 1.608 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.805, allocations: 87.77 kB / 3.99 GB, free: 9.258 MB / 1.608 GB Notification: Performance of NFFlatten.flatten: time 0.0104/0.8154, allocations: 9.164 MB / 3.999 GB, free: 84 kB / 1.608 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.8156, allocations: 21.75 kB / 3.999 GB, free: 64 kB / 1.608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008413/0.8241, allocations: 3.387 MB / 4.003 GB, free: 12.67 MB / 1.624 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/0.8355, allocations: 4.657 MB / 4.007 GB, free: 8.008 MB / 1.624 GB Notification: Performance of NFPackage.collectConstants: time 0.004666/0.8402, allocations: 0.5391 MB / 4.008 GB, free: 7.469 MB / 1.624 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004656/0.8448, allocations: 0.5586 MB / 4.008 GB, free: 6.91 MB / 1.624 GB Notification: Performance of NFScalarize.scalarize: time 0.006742/0.8516, allocations: 2.773 MB / 4.011 GB, free: 4.133 MB / 1.624 GB Notification: Performance of NFVerifyModel.verify: time 0.01005/0.8616, allocations: 2.585 MB / 4.014 GB, free: 1.539 MB / 1.624 GB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.8761, allocations: 5.62 MB / 4.019 GB, free: 11.9 MB / 1.639 GB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.8761, allocations: 7.938 kB / 4.019 GB, free: 11.89 MB / 1.639 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8761, allocations: 0 / 4.019 GB, free: 11.89 MB / 1.639 GB Notification: Performance of Transformations before backend: time 0.0001402/0.8762, allocations: 3.938 kB / 4.019 GB, free: 11.89 MB / 1.639 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 613 * Number of variables: 613 Notification: Performance of Generate backend data structure: time 0.04811/0.9243, allocations: 9.771 MB / 4.029 GB, free: 2.062 MB / 1.639 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/0.9244, allocations: 8.031 kB / 4.029 GB, free: 2.055 MB / 1.639 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001311/0.9245, allocations: 65 kB / 4.029 GB, free: 1.988 MB / 1.639 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004965/0.9295, allocations: 0.5564 MB / 4.029 GB, free: 1.422 MB / 1.639 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005082/0.9346, allocations: 0.5228 MB / 4.03 GB, free: 0.8984 MB / 1.639 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009514/0.9441, allocations: 1.823 MB / 4.031 GB, free: 15.04 MB / 1.655 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.03108/0.9752, allocations: 26.7 MB / 4.058 GB, free: 14.21 MB / 1.686 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004264/0.9794, allocations: 284.4 kB / 4.058 GB, free: 13.94 MB / 1.686 GB Error: An independent subset of the model has imbalanced number of equations (4) and variables (3). variables: epp.P P_el_heater_2 P_el_heater_1 equations: 1 : epp.P = 0.0 2 : epp.P = P_el_heater_1 + P_el_heater_2 3 : P_el_heater_1 = if u[1] then P_0 else 0.0 4 : P_el_heater_2 = if u[2] then P_0 else 0.0 Notification: Performance of preOpt clockPartitioning (simulation) : time 0.02256/1.002, allocations: 5.835 MB / 4.064 GB, free: 8.059 MB / 1.686 GB Error: pre-optimization module clockPartitioning (simulation) failed. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 21.68086228496395] Failed to read output from testmodel.py, exit status != 0: 1.0114852139959112 1.030670977 0.150622533 Calling exit ...