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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 283.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8951/0.8951, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 101.9 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1386, allocations: 86.98 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.331/0.4696, allocations: 115 MB / 0.794 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03894/0.5086, allocations: 29.4 MB / 0.8227 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005002/0.5136, allocations: 155.2 kB / 0.8228 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.009022/0.5227, allocations: 4.89 MB / 0.8276 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009844/0.5325, allocations: 3.999 MB / 0.8315 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008737/0.5413, allocations: 3.226 MB / 0.8346 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01675/0.558, allocations: 12.76 MB / 0.8471 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005189/0.5632, allocations: 3.713 MB / 0.8507 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006775/0.57, allocations: 3.557 MB / 0.8542 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00406/0.5741, allocations: 2.867 MB / 0.857 GB, free: 11 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006176/0.5747, allocations: 388 kB / 0.8574 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004664/0.5794, allocations: 2.469 MB / 0.8598 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.5805, allocations: 1.199 MB / 0.861 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002511/0.583, allocations: 2.317 MB / 0.8632 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007638/0.5907, allocations: 7.015 MB / 0.8701 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5907, allocations: 4 kB / 0.8701 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5907, allocations: 0 / 0.8701 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.734e-05/0.5908, allocations: 0 / 0.8701 GB, free: 13.58 MB / 0.6387 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.007555/0.5983, allocations: 4.763 MB / 0.8747 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.5984, allocations: 8.031 kB / 0.8747 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00241/0.6008, allocations: 0.6311 MB / 0.8753 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007445/0.6083, allocations: 4.393 MB / 0.8796 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.6084, allocations: 184.7 kB / 0.8798 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005021/0.609, allocations: 251.9 kB / 0.8801 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005024/0.614, allocations: 3.045 MB / 0.883 GB, free: 4 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.514e-05/0.6141, allocations: 11.98 kB / 0.883 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.6143, allocations: 103.9 kB / 0.8831 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.147e-05/0.6144, allocations: 84.53 kB / 0.8832 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004009/0.6184, allocations: 2.391 MB / 0.8856 GB, free: 13.4 MB / 0.6544 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.01551/0.6339, allocations: 12.9 MB / 0.8982 GB, free: 15.83 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.6365, allocations: 1.714 MB / 0.8998 GB, free: 14.07 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.6381, allocations: 1.022 MB / 0.9008 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006518/0.6446, allocations: 4.315 MB / 0.905 GB, free: 8.484 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.6447, allocations: 55.5 kB / 0.9051 GB, free: 8.418 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006522/0.6453, allocations: 150.2 kB / 0.9052 GB, free: 8.27 MB / 0.67 GB Notification: Performance of pre-optimization done (n=125): time 2.935e-06/0.6454, allocations: 0 / 0.9052 GB, free: 8.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=125): time 0.004414/0.6498, allocations: 2.384 MB / 0.9076 GB, free: 5.855 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.6498, allocations: 94.11 kB / 0.9077 GB, free: 5.746 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004221/0.6541, allocations: 3.453 MB / 0.911 GB, free: 2.309 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.6542, allocations: 53.7 kB / 0.9111 GB, free: 2.25 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.6556, allocations: 1.69 MB / 0.9127 GB, free: 0.543 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003789/0.656, allocations: 457.5 kB / 0.9132 GB, free: 92 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005962/0.6566, allocations: 455.7 kB / 0.9136 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.6567, allocations: 301.1 kB / 0.9139 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.658, allocations: 0.8449 MB / 0.9147 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.6597, allocations: 1.456 MB / 0.9161 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/0.6738, allocations: 4.574 MB / 0.9206 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.6738, allocations: 7.938 kB / 0.9206 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004935/0.6788, allocations: 2.832 MB / 0.9234 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.6788, allocations: 12 kB / 0.9234 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.6789, allocations: 20.12 kB / 0.9234 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004413/0.6793, allocations: 172.7 kB / 0.9236 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.6809, allocations: 479.2 kB / 0.924 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.6831, allocations: 2.505 MB / 0.9265 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.6852, allocations: 123.7 kB / 0.9266 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.6854, allocations: 95.97 kB / 0.9267 GB, free: 1.578 MB / 0.6856 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.002761/0.6881, allocations: 1.914 MB / 0.9286 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001596/0.6898, allocations: 1.44 MB / 0.93 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01335/0.7031, allocations: 4.522 MB / 0.9344 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.478e-06/0.7031, allocations: 4 kB / 0.9344 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004397/0.7075, allocations: 2.8 MB / 0.9371 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.7076, allocations: 12 kB / 0.9371 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.7076, allocations: 19.98 kB / 0.9371 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/0.708, allocations: 172.8 kB / 0.9373 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.7095, allocations: 479.2 kB / 0.9378 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.7117, allocations: 2.506 MB / 0.9402 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.7136, allocations: 119.8 kB / 0.9403 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.7137, allocations: 95.92 kB / 0.9404 GB, free: 2.844 MB / 0.7012 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.0006101/0.7144, allocations: 0.4969 MB / 0.9409 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005223/0.7149, allocations: 335.8 kB / 0.9412 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/0.7183, allocations: 1.996 MB / 0.9432 GB, free: 20 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.7183, allocations: 16 kB / 0.9432 GB, free: 4 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7183, allocations: 4 kB / 0.9432 GB, free: 0 / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002546/0.7209, allocations: 1.761 MB / 0.9449 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.7245, allocations: 2.635 MB / 0.9475 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.7245, allocations: 3.938 kB / 0.9475 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.7256, allocations: 267.6 kB / 0.9477 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003836/0.726, allocations: 152.7 kB / 0.9479 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.857e-05/0.7261, allocations: 39.97 kB / 0.9479 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/0.7285, allocations: 2.472 MB / 0.9503 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.7285, allocations: 3.984 kB / 0.9503 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004685/0.7332, allocations: 2.811 MB / 0.9531 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/0.7347, allocations: 0.6022 MB / 0.9537 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/0.7351, allocations: 24 kB / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.7365, allocations: 87.84 kB / 0.9538 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.7367, allocations: 85.19 kB / 0.9539 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.7368, allocations: 67.94 kB / 0.9539 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003246/0.74, allocations: 2.339 MB / 0.9562 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7401, allocations: 0 / 0.9562 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004185/0.7442, allocations: 1.875 MB / 0.958 GB, free: 492 kB / 0.7169 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.2341/0.9783, allocations: 1.066 MB / 0.9591 GB, free: 238.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005661/0.984, allocations: 3.512 MB / 0.9625 GB, free: 238.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.984, allocations: 6.438 kB / 0.9625 GB, free: 238.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.9854, allocations: 0.9332 MB / 0.9634 GB, free: 238.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006684/0.9921, allocations: 1.805 MB / 0.9652 GB, free: 237.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.002, allocations: 6.704 MB / 0.9717 GB, free: 234.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002294/1.005, allocations: 2.404 MB / 0.9741 GB, free: 233.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0039/1.008, allocations: 1.075 MB / 0.9751 GB, free: 233.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007338/1.009, allocations: 284.1 kB / 0.9754 GB, free: 233.5 MB / 0.7169 GB Notification: Performance of SimCode: time 8.11e-07/1.009, allocations: 0 / 0.9754 GB, free: 233.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.08595/1.095, allocations: 66.56 MB / 1.04 GB, free: 187.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.makefile (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1)