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.004639/0.004639, allocations: 101.6 kB / 15.73 MB, free: 6.445 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.001015/0.001015, allocations: 196.4 kB / 16.68 MB, free: 6.355 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 283 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9697/0.9697, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 95.84 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1614, allocations: 86.97 MB / 0.7663 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.4356/0.597, allocations: 115.1 MB / 0.8787 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04107/0.6381, allocations: 29.39 MB / 0.9074 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005997/0.6442, allocations: 155.2 kB / 0.9076 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006452/0.6506, allocations: 2.464 MB / 0.91 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.6616, allocations: 4.093 MB / 0.914 GB, free: 11.81 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007739/0.6694, allocations: 3.277 MB / 0.9172 GB, free: 8.562 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01663/0.686, allocations: 12.89 MB / 0.9298 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005732/0.6918, allocations: 3.726 MB / 0.9334 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007729/0.6995, allocations: 3.683 MB / 0.937 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004649/0.7042, allocations: 2.886 MB / 0.9398 GB, free: 1.305 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.7052, allocations: 396 kB / 0.9402 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005505/0.7107, allocations: 2.476 MB / 0.9426 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.7121, allocations: 1.199 MB / 0.9438 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002931/0.715, allocations: 2.321 MB / 0.946 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008922/0.724, allocations: 7.054 MB / 0.9529 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.724, allocations: 4 kB / 0.9529 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.667e-06/0.724, allocations: 3.938 kB / 0.9529 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.656e-05/0.7241, allocations: 3.938 kB / 0.9529 GB, free: 3.816 MB / 0.7012 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.007738/0.7318, allocations: 4.77 MB / 0.9576 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.7319, allocations: 12.03 kB / 0.9576 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.7344, allocations: 0.6311 MB / 0.9582 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00737/0.7417, allocations: 4.436 MB / 0.9626 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.7419, allocations: 196.7 kB / 0.9628 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004069/0.7423, allocations: 244 kB / 0.963 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00502/0.7473, allocations: 3.041 MB / 0.966 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-05/0.7474, allocations: 11.84 kB / 0.966 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/0.7477, allocations: 104 kB / 0.9661 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.898e-05/0.7477, allocations: 96.52 kB / 0.9662 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004209/0.752, allocations: 2.387 MB / 0.9685 GB, free: 3.566 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.01608/0.7681, allocations: 12.91 MB / 0.9811 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.7707, allocations: 1.707 MB / 0.9828 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.7723, allocations: 1.037 MB / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006375/0.7787, allocations: 4.332 MB / 0.988 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.7788, allocations: 47.56 kB / 0.9881 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007374/0.7795, allocations: 154.1 kB / 0.9882 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=125): time 3.537e-06/0.7795, allocations: 0 / 0.9882 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=125): time 0.004513/0.7841, allocations: 2.392 MB / 0.9905 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.7841, allocations: 90.11 kB / 0.9906 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/0.7885, allocations: 3.465 MB / 0.994 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.7886, allocations: 57.7 kB / 0.9941 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.79, allocations: 1.69 MB / 0.9957 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003925/0.7904, allocations: 461.5 kB / 0.9962 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000577/0.791, allocations: 455.6 kB / 0.9966 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.7911, allocations: 301.1 kB / 0.9969 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.7924, allocations: 0.845 MB / 0.9977 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.7942, allocations: 1.456 MB / 0.9991 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/0.8081, allocations: 4.57 MB / 1.004 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/0.8082, allocations: 7.938 kB / 1.004 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004949/0.8131, allocations: 2.825 MB / 1.006 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.8132, allocations: 14.5 kB / 1.006 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.8132, allocations: 19.98 kB / 1.006 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004469/0.8137, allocations: 181 kB / 1.007 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.8153, allocations: 483.2 kB / 1.007 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.8177, allocations: 2.506 MB / 1.009 GB, free: 7.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.82, allocations: 120.3 kB / 1.01 GB, free: 7.793 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.8201, allocations: 96.05 kB / 1.01 GB, free: 7.699 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002908/0.823, allocations: 1.922 MB / 1.012 GB, free: 5.773 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001651/0.8247, allocations: 1.448 MB / 1.013 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01356/0.8383, allocations: 4.503 MB / 1.017 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.459e-05/0.8383, allocations: 8 kB / 1.017 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004764/0.8431, allocations: 2.8 MB / 1.02 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.8431, allocations: 12 kB / 1.02 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.8432, allocations: 20 kB / 1.02 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.8436, allocations: 177 kB / 1.02 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.8451, allocations: 475.2 kB / 1.021 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.8474, allocations: 2.505 MB / 1.023 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.8496, allocations: 127.6 kB / 1.023 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.8497, allocations: 104 kB / 1.023 GB, free: 8.949 MB / 0.7794 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.000677/0.8504, allocations: 499.5 kB / 1.024 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005817/0.851, allocations: 331.9 kB / 1.024 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.8549, allocations: 2.003 MB / 1.026 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.8549, allocations: 19.98 kB / 1.026 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8549, allocations: 0 / 1.026 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002544/0.8575, allocations: 1.761 MB / 1.028 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/0.8616, allocations: 2.631 MB / 1.03 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.8616, allocations: 7.875 kB / 1.03 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.8628, allocations: 259.6 kB / 1.031 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000372/0.8631, allocations: 152.7 kB / 1.031 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.084e-05/0.8632, allocations: 39.92 kB / 1.031 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/0.8656, allocations: 2.482 MB / 1.033 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8656, allocations: 0 / 1.033 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004446/0.87, allocations: 2.807 MB / 1.036 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.8712, allocations: 0.6022 MB / 1.037 GB, free: 11.06 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/0.8715, allocations: 27.98 kB / 1.037 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.8729, allocations: 92.05 kB / 1.037 GB, free: 10.94 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.8731, allocations: 89.19 kB / 1.037 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.8733, allocations: 59.94 kB / 1.037 GB, free: 10.79 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003239/0.8765, allocations: 2.358 MB / 1.039 GB, free: 8.453 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8765, allocations: 4 kB / 1.039 GB, free: 8.449 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004337/0.8809, allocations: 1.867 MB / 1.041 GB, free: 6.578 MB / 0.795 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.002144/0.883, allocations: 1.068 MB / 1.042 GB, free: 5.641 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005538/0.8886, allocations: 3.515 MB / 1.046 GB, free: 2.109 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.8886, allocations: 4.5 kB / 1.046 GB, free: 2.102 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.89, allocations: 0.9323 MB / 1.046 GB, free: 1.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006904/0.8969, allocations: 1.803 MB / 1.048 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.9084, allocations: 6.703 MB / 1.055 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/0.9107, allocations: 2.419 MB / 1.057 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003574/0.9143, allocations: 1.079 MB / 1.058 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006782/0.9149, allocations: 275.3 kB / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of SimCode: time 8.91e-07/0.915, allocations: 0 / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of Templates: time 0.4224/1.337, allocations: 68.17 MB / 1.125 GB, free: 271.6 MB / 0.8419 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)