Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.001474/0.001474, allocations: 110.7 kB / 16.46 MB, free: 6.5 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.00167/0.00167, allocations: 216 kB / 19.43 MB, free: 3.656 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.401/1.401, allocations: 230.6 MB / 252.8 MB, free: 9.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 281.2 kB / 309.1 MB, free: 4 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.176/1.176, allocations: 180.9 MB / 0.5333 GB, free: 13.84 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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) Running command: "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 101.8 kB / 0.7342 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1543, allocations: 95.34 MB / 0.8273 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1178/0.2721, allocations: 116.4 MB / 0.941 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04123/0.3133, allocations: 29.55 MB / 0.9698 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004593/0.3179, allocations: 214.3 kB / 0.97 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006439/0.3243, allocations: 2.528 MB / 0.9725 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.3353, allocations: 4.311 MB / 0.9767 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.4051/0.7404, allocations: 3.335 MB / 0.98 GB, free: 16.74 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01813/0.7585, allocations: 12.91 MB / 0.9926 GB, free: 16.72 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005454/0.764, allocations: 3.098 MB / 0.9956 GB, free: 16.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009121/0.7731, allocations: 3.744 MB / 0.9993 GB, free: 16.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005407/0.7785, allocations: 3.043 MB / 1.002 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009469/0.7795, allocations: 397.5 kB / 1.003 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005617/0.7851, allocations: 2.606 MB / 1.005 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.7863, allocations: 1.251 MB / 1.006 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003327/0.7897, allocations: 2.332 MB / 1.009 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009334/0.799, allocations: 7.229 MB / 1.016 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.799, allocations: 0 / 1.016 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.799, allocations: 0 / 1.016 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001179/0.7991, allocations: 3.938 kB / 1.016 GB, free: 14.21 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 607 * Number of variables: 607 Notification: Performance of Generate backend data structure: time 0.00887/0.808, allocations: 4.929 MB / 1.021 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/0.8081, allocations: 12.48 kB / 1.021 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005082/0.8086, allocations: 345.7 kB / 1.021 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002871/0.8114, allocations: 0.6491 MB / 1.022 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006889/0.8183, allocations: 4.474 MB / 1.026 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.8184, allocations: 187.1 kB / 1.026 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003714/0.8188, allocations: 244.8 kB / 1.026 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005003/0.8238, allocations: 3.052 MB / 1.029 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.319e-05/0.8239, allocations: 14.55 kB / 1.029 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.8241, allocations: 99.12 kB / 1.029 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-05/0.8242, allocations: 96.56 kB / 1.029 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003883/0.8281, allocations: 2.389 MB / 1.032 GB, free: 10.37 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.843, allocations: 12.96 MB / 1.044 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.8454, allocations: 1.615 MB / 1.046 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.8468, allocations: 0.9482 MB / 1.047 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006315/0.8531, allocations: 4.276 MB / 1.051 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.8531, allocations: 54.64 kB / 1.051 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009301/0.8541, allocations: 158.7 kB / 1.051 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=125): time 3.366e-06/0.8541, allocations: 0 / 1.051 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125): time 0.004777/0.8589, allocations: 2.407 MB / 1.054 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.8589, allocations: 88.2 kB / 1.054 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005244/0.8642, allocations: 3.489 MB / 1.057 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002806/0.8644, allocations: 57.7 kB / 1.057 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001855/0.8663, allocations: 1.732 MB / 1.059 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006723/0.867, allocations: 485.9 kB / 1.059 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007105/0.8677, allocations: 451.8 kB / 1.06 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8678, allocations: 309.1 kB / 1.06 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.8694, allocations: 0.8418 MB / 1.061 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.8716, allocations: 1.459 MB / 1.062 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01623/0.8878, allocations: 4.557 MB / 1.067 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.422e-05/0.8878, allocations: 8 kB / 1.067 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.006891/0.8947, allocations: 2.842 MB / 1.07 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.8948, allocations: 12 kB / 1.07 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.8948, allocations: 16 kB / 1.07 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.8953, allocations: 184.9 kB / 1.07 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.8971, allocations: 474.4 kB / 1.07 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.9001, allocations: 2.51 MB / 1.073 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/0.9027, allocations: 124.3 kB / 1.073 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.9029, allocations: 96.05 kB / 1.073 GB, free: 10.48 MB / 0.7481 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true final = true ) \"Internal energy of fluid\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003576/0.9065, allocations: 1.919 MB / 1.075 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002041/0.9085, allocations: 1.448 MB / 1.076 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01522/0.9237, allocations: 4.508 MB / 1.081 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.478e-05/0.9237, allocations: 8 kB / 1.081 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.00565/0.9294, allocations: 2.824 MB / 1.083 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.9294, allocations: 12 kB / 1.083 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.9294, allocations: 16 kB / 1.083 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004609/0.9299, allocations: 176.9 kB / 1.084 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.9316, allocations: 471.9 kB / 1.084 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.9344, allocations: 2.511 MB / 1.086 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/0.9369, allocations: 124.4 kB / 1.087 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.9371, allocations: 94.09 kB / 1.087 GB, free: 12.04 MB / 0.7637 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true final = true ) \"Internal energy of fluid\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.control.y,control.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (245): * Single equations (assignments): 242 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007731/0.9379, allocations: 0.5064 MB / 1.087 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007315/0.9386, allocations: 353.7 kB / 1.088 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004187/0.9428, allocations: 1.981 MB / 1.089 GB, free: 9.273 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/0.9428, allocations: 19.98 kB / 1.089 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9428, allocations: 0 / 1.089 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002941/0.9458, allocations: 1.764 MB / 1.091 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004872/0.9506, allocations: 2.635 MB / 1.094 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.9506, allocations: 0 / 1.094 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.9519, allocations: 253.8 kB / 1.094 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/0.9523, allocations: 160.7 kB / 1.094 GB, free: 4.391 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.9524, allocations: 35.98 kB / 1.094 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002789/0.9552, allocations: 2.489 MB / 1.097 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9552, allocations: 0 / 1.097 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005565/0.9608, allocations: 2.823 MB / 1.099 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/0.9622, allocations: 0.6235 MB / 1.1 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004567/0.9626, allocations: 28 kB / 1.1 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.9642, allocations: 91.38 kB / 1.1 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.9644, allocations: 81.19 kB / 1.1 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.9645, allocations: 67.94 kB / 1.1 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003987/0.9685, allocations: 2.37 MB / 1.103 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9685, allocations: 0 / 1.103 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005563/0.9741, allocations: 1.898 MB / 1.104 GB, free: 9.793 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (senTemIn.T,senTemOut.T,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2],exp.m,exp.H,CHP.vol.dynBal.U) * Number of discrete variables: 1 (control.y) * Number of discrete states: 1 (control.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008146/0.9822, allocations: 4.342 MB / 1.109 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006294/0.9885, allocations: 3.291 MB / 1.112 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.9885, allocations: 4.562 kB / 1.112 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.9902, allocations: 0.8682 MB / 1.113 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007984/0.9982, allocations: 1.811 MB / 1.114 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04519/1.043, allocations: 25.27 MB / 1.139 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002398/1.046, allocations: 2.42 MB / 1.142 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003998/1.05, allocations: 1.071 MB / 1.143 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/1.052, allocations: 1.525 MB / 1.144 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of SimCode: time 1.272e-06/1.052, allocations: 0 / 1.144 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1704/1.222, allocations: 95.96 MB / 1.238 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/18.37, allocations: 7.172 kB / 1.238 GB, free: 2.562 MB / 0.9044 GB " [Timeout remaining time 641] (rm -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_res.csv --start-time 0 --stop-time 20000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8 BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage.fmu > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.605636103078723] Failed to read output from testmodel.py, exit status != 0: 18.582502538803965 18.608850027 17.804915503 Calling exit ...