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.182/3.182, allocations: 0.5003 GB / 0.5232 GB, free: 6.605 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.0007806/0.0007806, allocations: 37.41 kB / 0.6489 GB, free: 10.61 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.01129/0.01129, allocations: 1.766 MB / 0.7763 GB, free: 8.039 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.7575/0.7575, allocations: 130.7 MB / 1.03 GB, free: 90.23 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.01198/0.01198, allocations: 0.8907 MB / 1.184 GB, free: 109.6 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.3278/0.3278, allocations: 45.3 MB / 1.382 GB, free: 4.871 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.1054/0.1054, allocations: 13.78 MB / 1.558 GB, free: 226.9 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.001363/0.001363, allocations: 102.6 kB / 1.724 GB, free: 56.8 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.00201/0.00201, allocations: 211 kB / 1.891 GB, free: 259 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 2.037/2.037, allocations: 230.6 MB / 2.282 GB, free: 81.93 MB / 0.9357 GB " [Timeout remaining time 177] 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.0008888/0.0008888, allocations: 31.89 kB / 2.5 GB, free: 5.637 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.0007737/0.0007737, allocations: 30.44 kB / 2.718 GB, free: 285.9 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.62/2.62, allocations: 223.3 MB / 3.154 GB, free: 113.5 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.07695/0.07695, allocations: 20.84 MB / 3.726 GB, free: 102.6 MB / 1.514 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.8227, allocations: 267.7 MB / 3.987 GB, free: 11.61 MB / 1.608 GB Notification: Performance of NFInst.instantiate(TransiEnt.Storage.Heat.ElectricWaterHeater_constProp_L4.ElectricWaterHeater_constProp_L4): time 0.004412/0.8271, allocations: 2.258 MB / 3.989 GB, free: 9.34 MB / 1.608 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.8282, allocations: 351.3 kB / 3.99 GB, free: 8.996 MB / 1.608 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.8283, allocations: 4 kB / 3.99 GB, free: 8.992 MB / 1.608 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.8285, allocations: 23.77 kB / 3.99 GB, free: 8.969 MB / 1.608 GB Notification: Performance of NFTyping.typeBindings: time 0.0006632/0.8292, allocations: 179.3 kB / 3.99 GB, free: 8.793 MB / 1.608 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.8295, allocations: 83.77 kB / 3.99 GB, free: 8.711 MB / 1.608 GB Notification: Performance of NFFlatten.flatten: time 0.009507/0.8391, allocations: 9.16 MB / 3.999 GB, free: 15.54 MB / 1.624 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.8393, allocations: 29.73 kB / 3.999 GB, free: 15.51 MB / 1.624 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007413/0.8467, allocations: 3.387 MB / 4.002 GB, free: 12.12 MB / 1.624 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01101/0.8577, allocations: 4.661 MB / 4.007 GB, free: 7.453 MB / 1.624 GB Notification: Performance of NFPackage.collectConstants: time 0.006307/0.864, allocations: 0.5391 MB / 4.007 GB, free: 6.914 MB / 1.624 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005565/0.8696, allocations: 0.5586 MB / 4.008 GB, free: 6.355 MB / 1.624 GB Notification: Performance of NFScalarize.scalarize: time 0.006574/0.8762, allocations: 2.773 MB / 4.011 GB, free: 3.578 MB / 1.624 GB Notification: Performance of NFVerifyModel.verify: time 0.008588/0.8847, allocations: 2.458 MB / 4.013 GB, free: 1.113 MB / 1.624 GB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.8976, allocations: 5.652 MB / 4.019 GB, free: 11.45 MB / 1.639 GB Notification: Performance of FrontEnd - DAE generated: time 1.237e-05/0.8976, allocations: 0 / 4.019 GB, free: 11.45 MB / 1.639 GB Notification: Performance of FrontEnd: time 4.077e-06/0.8976, allocations: 4 kB / 4.019 GB, free: 11.44 MB / 1.639 GB Notification: Performance of Transformations before backend: time 0.0001721/0.8978, allocations: 0 / 4.019 GB, free: 11.44 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.04528/0.9431, allocations: 9.771 MB / 4.028 GB, free: 1.613 MB / 1.639 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.9431, allocations: 11.97 kB / 4.028 GB, free: 1.602 MB / 1.639 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001122/0.9432, allocations: 65 kB / 4.028 GB, free: 1.535 MB / 1.639 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003467/0.9467, allocations: 0.5525 MB / 4.029 GB, free: 0.9727 MB / 1.639 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/0.9503, allocations: 0.5228 MB / 4.029 GB, free: 460 kB / 1.639 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007548/0.9578, allocations: 1.831 MB / 4.031 GB, free: 14.59 MB / 1.655 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.02367/0.9815, allocations: 26.7 MB / 4.057 GB, free: 13.76 MB / 1.686 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004482/0.986, allocations: 292.3 kB / 4.057 GB, free: 13.48 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.02117/1.007, allocations: 5.837 MB / 4.063 GB, free: 7.594 MB / 1.686 GB Error: pre-optimization module clockPartitioning (simulation) failed. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 22.073233390925452] Failed to read output from testmodel.py, exit status != 0: 1.0160298070404679 1.036637544 0.134326728 Calling exit ...