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.001504/0.001504, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001587/0.001587, allocations: 215.2 kB / 22.25 MB, free: 5.117 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002559/0.002559, allocations: 280.4 kB / 312.7 MB, free: 2.836 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.25/1.25, allocations: 180.6 MB / 0.5369 GB, free: 13.04 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002907/0.002907, allocations: 111.3 kB / 0.7396 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1776, allocations: 95.39 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1339/0.3114, allocations: 117.5 MB / 0.9474 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.05525/0.3667, allocations: 29.65 MB / 0.9764 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006088/0.3727, allocations: 222.2 kB / 0.9766 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.3832, allocations: 2.596 MB / 0.9791 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.4607/0.8438, allocations: 4.392 MB / 0.9834 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008959/0.8528, allocations: 3.46 MB / 0.9868 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02082/0.8736, allocations: 13.23 MB / 0.9997 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005741/0.8794, allocations: 2.789 MB / 1.002 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009959/0.8893, allocations: 3.755 MB / 1.006 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006265/0.8956, allocations: 3.045 MB / 1.009 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001445/0.897, allocations: 397.3 kB / 1.009 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007079/0.9041, allocations: 2.688 MB / 1.012 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001954/0.9061, allocations: 1.249 MB / 1.013 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005007/0.9111, allocations: 2.334 MB / 1.016 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.9237, allocations: 7.233 MB / 1.023 GB, free: 13 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.9237, allocations: 5.656 kB / 1.023 GB, free: 13 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9237, allocations: 0 / 1.023 GB, free: 13 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000199/0.9239, allocations: 0 / 1.023 GB, free: 13 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.01156/0.9355, allocations: 4.866 MB / 1.027 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.9355, allocations: 9.531 kB / 1.027 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005067/0.936, allocations: 343.3 kB / 1.028 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.9389, allocations: 0.6549 MB / 1.028 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009528/0.9484, allocations: 4.39 MB / 1.033 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.9485, allocations: 190 kB / 1.033 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004978/0.949, allocations: 240.3 kB / 1.033 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005138/0.9542, allocations: 3.055 MB / 1.036 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.826e-05/0.9542, allocations: 10.8 kB / 1.036 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.9545, allocations: 100.9 kB / 1.036 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.201e-05/0.9545, allocations: 96.28 kB / 1.036 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003944/0.9585, allocations: 2.393 MB / 1.039 GB, free: 9.273 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.01586/0.9743, allocations: 12.86 MB / 1.051 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.9767, allocations: 1.456 MB / 1.053 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.9781, allocations: 0.9384 MB / 1.054 GB, free: 376 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007575/0.9856, allocations: 3.443 MB / 1.057 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.998e-05/0.9857, allocations: 56.02 kB / 1.057 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001211/0.9869, allocations: 154.7 kB / 1.057 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=125): time 6.422e-06/0.9869, allocations: 0 / 1.057 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125): time 0.00532/0.9922, allocations: 2.327 MB / 1.059 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.9923, allocations: 95.8 kB / 1.059 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007158/0.9995, allocations: 3.499 MB / 1.063 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003783/0.9998, allocations: 53.7 kB / 1.063 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002024/1.002, allocations: 1.733 MB / 1.065 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/1.002, allocations: 476.8 kB / 1.065 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006976/1.003, allocations: 463 kB / 1.065 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.003, allocations: 301.1 kB / 1.066 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/1.005, allocations: 0.8465 MB / 1.067 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/1.007, allocations: 1.456 MB / 1.068 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/1.023, allocations: 4.582 MB / 1.072 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-05/1.023, allocations: 11.38 kB / 1.073 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005717/1.029, allocations: 2.846 MB / 1.075 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/1.029, allocations: 12 kB / 1.075 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/1.029, allocations: 16.91 kB / 1.075 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004864/1.029, allocations: 180.7 kB / 1.075 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.031, allocations: 482 kB / 1.076 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/1.034, allocations: 2.411 MB / 1.078 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/1.036, allocations: 119.9 kB / 1.078 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/1.036, allocations: 91.98 kB / 1.079 GB, free: 9.172 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.003462/1.04, allocations: 1.925 MB / 1.08 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002015/1.042, allocations: 1.446 MB / 1.082 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01551/1.057, allocations: 4.521 MB / 1.086 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-05/1.057, allocations: 8.109 kB / 1.086 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.005898/1.063, allocations: 2.827 MB / 1.089 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/1.063, allocations: 12 kB / 1.089 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/1.063, allocations: 20.88 kB / 1.089 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004608/1.064, allocations: 176.7 kB / 1.089 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.065, allocations: 475.4 kB / 1.09 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/1.068, allocations: 2.402 MB / 1.092 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/1.071, allocations: 119.9 kB / 1.092 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/1.071, allocations: 91.98 kB / 1.092 GB, free: 10.84 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.0008104/1.072, allocations: 0.4999 MB / 1.093 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008661/1.073, allocations: 353.7 kB / 1.093 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/1.077, allocations: 1.996 MB / 1.095 GB, free: 8.07 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/1.077, allocations: 12 kB / 1.095 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.077, allocations: 0 / 1.095 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00305/1.08, allocations: 1.783 MB / 1.097 GB, free: 6.219 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/1.085, allocations: 2.614 MB / 1.099 GB, free: 3.605 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/1.085, allocations: 4 kB / 1.099 GB, free: 3.602 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.087, allocations: 260.8 kB / 1.1 GB, free: 3.355 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/1.087, allocations: 151.7 kB / 1.1 GB, free: 3.207 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.087, allocations: 39.97 kB / 1.1 GB, free: 3.168 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/1.09, allocations: 2.374 MB / 1.102 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.09, allocations: 0 / 1.102 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005985/1.096, allocations: 2.832 MB / 1.105 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/1.098, allocations: 0.5536 MB / 1.105 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008908/1.099, allocations: 27.98 kB / 1.105 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.101, allocations: 91.09 kB / 1.105 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/1.102, allocations: 97.12 kB / 1.106 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.102, allocations: 63.95 kB / 1.106 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004533/1.106, allocations: 2.366 MB / 1.108 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/1.106, allocations: 4 kB / 1.108 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005815/1.112, allocations: 1.894 MB / 1.11 GB, free: 8.805 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.00846/1.121, allocations: 4.366 MB / 1.114 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006417/1.127, allocations: 3.297 MB / 1.117 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.127, allocations: 4.5 kB / 1.117 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/1.129, allocations: 0.8773 MB / 1.118 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008621/1.137, allocations: 1.805 MB / 1.12 GB, free: 14.85 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05303/1.19, allocations: 25.34 MB / 1.145 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002514/1.193, allocations: 2.421 MB / 1.147 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003837/1.197, allocations: 1.075 MB / 1.148 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002528/1.199, allocations: 1.526 MB / 1.15 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/1.199, allocations: 0 / 1.15 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1914/1.391, allocations: 97.27 MB / 1.245 GB, free: 15.92 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.54/21.93, allocations: 6.875 kB / 1.245 GB, free: 15.92 MB / 0.92 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage_fmu --startTime=0 --stopTime=20000 --stepSize=8 --timeout=50 --tolerance=1e-06 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: 26.44687978597358] Failed to read output from testmodel.py, exit status != 0: 22.16570930206217 22.189689003 21.261224865 Calling exit ...