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.001403/0.001403, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001658, allocations: 196.8 kB / 16.53 MB, free: 6.656 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001992/0.001992, allocations: 271.1 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9104/0.9104, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 92.55 kB / 0.5952 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1463, allocations: 86.98 MB / 0.6802 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.4032/0.5496, allocations: 115 MB / 0.7925 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03509/0.5847, allocations: 29.39 MB / 0.8212 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007167/0.5919, allocations: 161.7 kB / 0.8214 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.6021, allocations: 4.892 MB / 0.8261 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.6124, allocations: 3.99 MB / 0.83 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00765/0.6201, allocations: 3.215 MB / 0.8332 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01466/0.6347, allocations: 12.76 MB / 0.8456 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004574/0.6393, allocations: 3.709 MB / 0.8493 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006681/0.646, allocations: 3.553 MB / 0.8527 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004131/0.6502, allocations: 2.853 MB / 0.8555 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006241/0.6508, allocations: 389.4 kB / 0.8559 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005392/0.6562, allocations: 2.468 MB / 0.8583 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.6573, allocations: 1.194 MB / 0.8595 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002712/0.66, allocations: 2.311 MB / 0.8617 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008208/0.6682, allocations: 6.962 MB / 0.8685 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6683, allocations: 0 / 0.8685 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6683, allocations: 0 / 0.8685 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001092/0.6684, allocations: 0 / 0.8685 GB, free: 14.86 MB / 0.5919 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.008503/0.6769, allocations: 4.76 MB / 0.8732 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.677, allocations: 12.03 kB / 0.8732 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/0.6797, allocations: 0.6273 MB / 0.8738 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006899/0.6866, allocations: 4.265 MB / 0.878 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.6868, allocations: 196.7 kB / 0.8781 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003709/0.6872, allocations: 247.3 kB / 0.8784 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00489/0.6921, allocations: 3.048 MB / 0.8814 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.837e-05/0.6921, allocations: 3.938 kB / 0.8814 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.6924, allocations: 104 kB / 0.8815 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.987e-05/0.6924, allocations: 92.52 kB / 0.8815 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004099/0.6966, allocations: 2.395 MB / 0.8839 GB, free: 14.93 MB / 0.6075 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.01546/0.712, allocations: 13.01 MB / 0.8966 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.7148, allocations: 1.726 MB / 0.8983 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.7164, allocations: 1.026 MB / 0.8993 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006374/0.7228, allocations: 4.32 MB / 0.9035 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.7228, allocations: 51.5 kB / 0.9035 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007066/0.7235, allocations: 142.2 kB / 0.9037 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=125): time 2.835e-06/0.7235, allocations: 0 / 0.9037 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of matching and sorting (n=125): time 0.004606/0.7281, allocations: 2.399 MB / 0.906 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.7282, allocations: 98.05 kB / 0.9061 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004282/0.7325, allocations: 3.449 MB / 0.9095 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.7326, allocations: 57.7 kB / 0.9095 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.7341, allocations: 1.683 MB / 0.9112 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/0.7345, allocations: 462.8 kB / 0.9116 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006045/0.7351, allocations: 447.6 kB / 0.9121 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.7353, allocations: 301.1 kB / 0.9123 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.7367, allocations: 0.8504 MB / 0.9132 GB, free: 124 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.7386, allocations: 1.457 MB / 0.9146 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01517/0.7537, allocations: 4.605 MB / 0.9191 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/0.7538, allocations: 8 kB / 0.9191 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005129/0.7589, allocations: 2.832 MB / 0.9219 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.759, allocations: 13.88 kB / 0.9219 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.759, allocations: 16 kB / 0.9219 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004454/0.7594, allocations: 177 kB / 0.9221 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.7611, allocations: 475.3 kB / 0.9225 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.7635, allocations: 2.509 MB / 0.925 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.7657, allocations: 124.4 kB / 0.9251 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.7659, allocations: 95.98 kB / 0.9252 GB, free: 3.195 MB / 0.6387 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 = 100000.0 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 = 100000.0 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 = 100000.0 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 = 100000.0 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 = 100000.0 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 = 100000.0 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003037/0.769, allocations: 1.926 MB / 0.9271 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001753/0.7707, allocations: 1.44 MB / 0.9285 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01443/0.7852, allocations: 4.545 MB / 0.9329 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.238e-05/0.7852, allocations: 4 kB / 0.9329 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004841/0.79, allocations: 2.804 MB / 0.9356 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.7901, allocations: 20.19 kB / 0.9357 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.7901, allocations: 20 kB / 0.9357 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/0.7905, allocations: 180.8 kB / 0.9359 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.7921, allocations: 475.2 kB / 0.9363 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.7944, allocations: 2.497 MB / 0.9387 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.7967, allocations: 131.7 kB / 0.9389 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.7968, allocations: 91.98 kB / 0.939 GB, free: 4.43 MB / 0.6544 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 = 100000.0 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 = 100000.0 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 = 100000.0 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 = 100000.0 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 = 100000.0 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 = 100000.0 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.000651/0.7975, allocations: 0.5001 MB / 0.9394 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007965/0.7983, allocations: 331.8 kB / 0.9398 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0042/0.8025, allocations: 2 MB / 0.9417 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/0.8025, allocations: 15.98 kB / 0.9417 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.8025, allocations: 4 kB / 0.9417 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002942/0.8055, allocations: 1.767 MB / 0.9435 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/0.8098, allocations: 2.631 MB / 0.946 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.8098, allocations: 4 kB / 0.946 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.811, allocations: 259.6 kB / 0.9463 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003733/0.8114, allocations: 161 kB / 0.9464 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.635e-05/0.8115, allocations: 39.97 kB / 0.9465 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002339/0.8138, allocations: 2.476 MB / 0.9489 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8138, allocations: 3.938 kB / 0.9489 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.8185, allocations: 2.817 MB / 0.9516 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/0.8201, allocations: 0.5983 MB / 0.9522 GB, free: 6.562 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000688/0.8208, allocations: 31.98 kB / 0.9523 GB, free: 6.531 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.8225, allocations: 91.75 kB / 0.9523 GB, free: 6.441 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.8227, allocations: 101.1 kB / 0.9524 GB, free: 6.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.8228, allocations: 55.95 kB / 0.9525 GB, free: 6.285 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00385/0.8267, allocations: 2.346 MB / 0.9548 GB, free: 3.957 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8267, allocations: 0 / 0.9548 GB, free: 3.957 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004975/0.8317, allocations: 1.871 MB / 0.9566 GB, free: 2.082 MB / 0.67 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.002388/0.8341, allocations: 1.074 MB / 0.9577 GB, free: 1.195 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007379/0.8415, allocations: 4.079 MB / 0.9616 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8415, allocations: 0.5625 kB / 0.9617 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.843, allocations: 0.9281 MB / 0.9626 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007254/0.8503, allocations: 1.804 MB / 0.9643 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.861, allocations: 6.793 MB / 0.971 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/0.8634, allocations: 2.414 MB / 0.9733 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003901/0.8673, allocations: 1.08 MB / 0.9744 GB, free: 132 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008299/0.8682, allocations: 271.3 kB / 0.9746 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of SimCode: time 6.91e-07/0.8682, allocations: 0 / 0.9746 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of Templates: time 0.1082/0.9763, allocations: 69.34 MB / 1.042 GB, free: 11.42 MB / 0.7637 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1)