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.001278/0.001278, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001448/0.001448, allocations: 217.2 kB / 22.99 MB, free: 4.914 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.357/1.357, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002401/0.002401, allocations: 283.1 kB / 313.5 MB, free: 2.633 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.166/1.166, allocations: 180.6 MB / 0.5377 GB, free: 14.61 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: translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") [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.002888/0.002888, allocations: 114.6 kB / 0.7407 GB, free: 27.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.18, allocations: 95.37 MB / 0.8338 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1227/0.3028, allocations: 105.7 MB / 0.9371 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04818/0.351, allocations: 27.49 MB / 0.9639 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0079/0.3589, allocations: 210.3 kB / 0.9641 GB, free: 2 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.008719/0.3676, allocations: 2.474 MB / 0.9665 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.3802, allocations: 4.398 MB / 0.9708 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008965/0.3891, allocations: 3.392 MB / 0.9741 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4681/0.8573, allocations: 13.19 MB / 0.987 GB, free: 17.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004697/0.862, allocations: 2.773 MB / 0.9897 GB, free: 17.33 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00871/0.8707, allocations: 3.796 MB / 0.9934 GB, free: 17.33 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008161/0.8788, allocations: 3.003 MB / 0.9964 GB, free: 16.95 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002571/0.8814, allocations: 387.5 kB / 0.9967 GB, free: 16.95 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01233/0.8937, allocations: 2.149 MB / 0.9988 GB, free: 16.94 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004473/0.8982, allocations: 1.225 MB / 1 GB, free: 16.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004658/0.9029, allocations: 1.845 MB / 1.002 GB, free: 16.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.9129, allocations: 7.115 MB / 1.009 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.9129, allocations: 0 / 1.009 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9129, allocations: 0 / 1.009 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000187/0.9131, allocations: 0 / 1.009 GB, free: 15.34 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.009685/0.9228, allocations: 4.835 MB / 1.014 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.9228, allocations: 8.938 kB / 1.014 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.9254, allocations: 0.6528 MB / 1.014 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008125/0.9335, allocations: 4.322 MB / 1.018 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.9337, allocations: 190.9 kB / 1.019 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005952/0.9343, allocations: 250.7 kB / 1.019 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005935/0.9402, allocations: 3.58 MB / 1.022 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.668e-05/0.9403, allocations: 8.5 kB / 1.022 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003334/0.9406, allocations: 108.9 kB / 1.022 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.94e-05/0.9407, allocations: 92.55 kB / 1.022 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004619/0.9453, allocations: 2.387 MB / 1.025 GB, free: 11.02 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.01689/0.9622, allocations: 9.75 MB / 1.034 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.9649, allocations: 1.453 MB / 1.036 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.9664, allocations: 0.9438 MB / 1.037 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006983/0.9734, allocations: 2.99 MB / 1.04 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.9735, allocations: 50.62 kB / 1.04 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001262/0.9747, allocations: 128 kB / 1.04 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=125): time 6.582e-06/0.9747, allocations: 0 / 1.04 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125): time 0.004905/0.9796, allocations: 2.298 MB / 1.042 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.9797, allocations: 95.42 kB / 1.042 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005694/0.9854, allocations: 3.237 MB / 1.045 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003322/0.9857, allocations: 57.92 kB / 1.045 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.9873, allocations: 1.735 MB / 1.047 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005414/0.9878, allocations: 483 kB / 1.047 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008319/0.9886, allocations: 451.8 kB / 1.048 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.9887, allocations: 307.5 kB / 1.048 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.9901, allocations: 0.8407 MB / 1.049 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.9918, allocations: 1.592 MB / 1.051 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/1.006, allocations: 4.57 MB / 1.055 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-05/1.006, allocations: 4.406 kB / 1.055 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005558/1.011, allocations: 2.813 MB / 1.058 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/1.011, allocations: 17.19 kB / 1.058 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/1.012, allocations: 16.5 kB / 1.058 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000453/1.012, allocations: 182.2 kB / 1.058 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/1.014, allocations: 482.8 kB / 1.058 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/1.016, allocations: 2.35 MB / 1.061 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/1.018, allocations: 126 kB / 1.061 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/1.018, allocations: 89.97 kB / 1.061 GB, free: 15.61 MB / 0.7325 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.0035/1.022, allocations: 1.921 MB / 1.063 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002089/1.024, allocations: 1.588 MB / 1.064 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01474/1.039, allocations: 4.51 MB / 1.069 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-05/1.039, allocations: 8 kB / 1.069 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.006524/1.045, allocations: 2.791 MB / 1.072 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/1.045, allocations: 12 kB / 1.072 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/1.045, allocations: 23.31 kB / 1.072 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004824/1.046, allocations: 180.9 kB / 1.072 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/1.048, allocations: 468 kB / 1.072 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/1.05, allocations: 2.353 MB / 1.074 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/1.053, allocations: 128.5 kB / 1.075 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003524/1.053, allocations: 91.98 kB / 1.075 GB, free: 4.113 MB / 0.7325 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.001011/1.054, allocations: 495.5 kB / 1.075 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.056, allocations: 329.8 kB / 1.075 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004739/1.06, allocations: 1.991 MB / 1.077 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/1.06, allocations: 12 kB / 1.077 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.06, allocations: 7.984 kB / 1.077 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003025/1.063, allocations: 1.766 MB / 1.079 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/1.069, allocations: 1.977 MB / 1.081 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/1.069, allocations: 0 / 1.081 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/1.07, allocations: 257.5 kB / 1.081 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004503/1.07, allocations: 158.5 kB / 1.081 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/1.071, allocations: 35.98 kB / 1.082 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/1.073, allocations: 2.319 MB / 1.084 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.073, allocations: 160 / 1.084 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005626/1.079, allocations: 2.818 MB / 1.087 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/1.081, allocations: 0.5187 MB / 1.087 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009485/1.082, allocations: 28 kB / 1.087 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/1.084, allocations: 83.89 kB / 1.087 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/1.084, allocations: 97.12 kB / 1.087 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/1.084, allocations: 63.94 kB / 1.087 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004985/1.089, allocations: 2.164 MB / 1.089 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.31e-07/1.089, allocations: 0 / 1.089 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00793/1.097, allocations: 1.937 MB / 1.091 GB, free: 3.062 MB / 0.7481 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.003546/1.101, allocations: 1.088 MB / 1.092 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007113/1.108, allocations: 3.296 MB / 1.096 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/1.108, allocations: 4.5 kB / 1.096 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/1.11, allocations: 0.8722 MB / 1.096 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00862/1.118, allocations: 1.588 MB / 1.098 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/1.134, allocations: 6.873 MB / 1.105 GB, free: 5.809 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003251/1.137, allocations: 1.816 MB / 1.106 GB, free: 3.961 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/1.138, allocations: 286.7 kB / 1.107 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of SimCode: time 9.42e-07/1.138, allocations: 0 / 1.107 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of Templates: time 0.1152/1.253, allocations: 79.02 MB / 1.184 GB, free: 5.27 MB / 0.8419 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.37505912221968] Failed to read output from testmodel.py, exit status != 0: 1.2625172473490238 1.277493596 0.361354546 Calling exit ...