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.006604/0.006604, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001432/0.001432, allocations: 202.2 kB / 16.68 MB, free: 5.965 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 286.5 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9241/0.9241, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 91.86 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1616, allocations: 86.98 MB / 0.7663 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.463/0.6246, allocations: 115.1 MB / 0.8787 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04407/0.6687, allocations: 29.4 MB / 0.9074 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005959/0.6747, allocations: 163.1 kB / 0.9076 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007358/0.6821, allocations: 2.457 MB / 0.91 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.694, allocations: 4.087 MB / 0.914 GB, free: 11.78 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009508/0.7035, allocations: 3.283 MB / 0.9172 GB, free: 8.52 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01751/0.721, allocations: 12.88 MB / 0.9297 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005954/0.727, allocations: 3.731 MB / 0.9334 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009911/0.737, allocations: 3.593 MB / 0.9369 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005286/0.7423, allocations: 2.882 MB / 0.9397 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00133/0.7436, allocations: 396 kB / 0.9401 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006124/0.7497, allocations: 2.48 MB / 0.9425 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.7514, allocations: 1.199 MB / 0.9437 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003939/0.7554, allocations: 2.325 MB / 0.946 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.766, allocations: 7.093 MB / 0.9529 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.766, allocations: 0 / 0.9529 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7661, allocations: 0 / 0.9529 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001253/0.7662, allocations: 0 / 0.9529 GB, free: 3.836 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.008/0.7742, allocations: 4.922 MB / 0.9577 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.7742, allocations: 12.03 kB / 0.9577 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/0.7767, allocations: 0.6492 MB / 0.9583 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007108/0.7838, allocations: 4.464 MB / 0.9627 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.784, allocations: 184.5 kB / 0.9629 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003732/0.7844, allocations: 252 kB / 0.9631 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005063/0.7894, allocations: 3.045 MB / 0.9661 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.543e-05/0.7895, allocations: 4 kB / 0.9661 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.7897, allocations: 104 kB / 0.9662 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.611e-05/0.7898, allocations: 100.5 kB / 0.9663 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004185/0.794, allocations: 2.375 MB / 0.9686 GB, free: 3.406 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.01627/0.8103, allocations: 12.95 MB / 0.9812 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.8131, allocations: 1.715 MB / 0.9829 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.8148, allocations: 1.033 MB / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007602/0.8224, allocations: 4.336 MB / 0.9882 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.8225, allocations: 59.44 kB / 0.9882 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009124/0.8234, allocations: 150.7 kB / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=125): time 3.597e-06/0.8234, allocations: 0 / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=125): time 0.004815/0.8282, allocations: 2.405 MB / 0.9907 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.8283, allocations: 90.11 kB / 0.9908 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004786/0.8331, allocations: 3.473 MB / 0.9942 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002063/0.8333, allocations: 53.7 kB / 0.9942 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.8349, allocations: 1.725 MB / 0.9959 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004786/0.8353, allocations: 483.9 kB / 0.9964 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006686/0.836, allocations: 459.8 kB / 0.9968 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.8361, allocations: 309.1 kB / 0.9971 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.8376, allocations: 0.8332 MB / 0.9979 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.8395, allocations: 1.46 MB / 0.9994 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/0.8546, allocations: 4.574 MB / 1.004 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.8546, allocations: 4 kB / 1.004 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005228/0.8599, allocations: 2.838 MB / 1.007 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.8599, allocations: 23.94 kB / 1.007 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.86, allocations: 19.98 kB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/0.8604, allocations: 168.7 kB / 1.007 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.8621, allocations: 479.3 kB / 1.007 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.8647, allocations: 2.51 MB / 1.01 GB, free: 7.621 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.8671, allocations: 124.3 kB / 1.01 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.8673, allocations: 91.98 kB / 1.01 GB, free: 7.41 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.003068/0.8704, allocations: 1.922 MB / 1.012 GB, free: 5.484 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001788/0.8722, allocations: 1.444 MB / 1.013 GB, free: 3.777 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01437/0.8865, allocations: 4.519 MB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.592e-05/0.8866, allocations: 4 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004957/0.8916, allocations: 2.818 MB / 1.02 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.8916, allocations: 18.69 kB / 1.02 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.8916, allocations: 16 kB / 1.02 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.892, allocations: 172.7 kB / 1.021 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.8936, allocations: 475.3 kB / 1.021 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.896, allocations: 2.502 MB / 1.023 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.8983, allocations: 135.7 kB / 1.024 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.8984, allocations: 91.98 kB / 1.024 GB, free: 8.648 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.0006671/0.8991, allocations: 0.4994 MB / 1.024 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006187/0.8997, allocations: 353.7 kB / 1.025 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003745/0.9035, allocations: 1.989 MB / 1.026 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.9035, allocations: 19.98 kB / 1.026 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.9035, allocations: 4 kB / 1.026 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002615/0.9062, allocations: 1.765 MB / 1.028 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/0.91, allocations: 2.635 MB / 1.031 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.91, allocations: 8 kB / 1.031 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.9112, allocations: 255.6 kB / 1.031 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003954/0.9116, allocations: 152.7 kB / 1.031 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.9117, allocations: 39.97 kB / 1.031 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.914, allocations: 2.486 MB / 1.034 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9141, allocations: 0 / 1.034 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004709/0.9188, allocations: 2.821 MB / 1.036 GB, free: 11.34 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.9201, allocations: 0.6158 MB / 1.037 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004064/0.9205, allocations: 32 kB / 1.037 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.922, allocations: 88.05 kB / 1.037 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.9222, allocations: 89.17 kB / 1.037 GB, free: 10.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.9223, allocations: 63.95 kB / 1.037 GB, free: 10.44 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003495/0.9258, allocations: 2.354 MB / 1.04 GB, free: 8.102 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.134e-06/0.9259, allocations: 0 / 1.04 GB, free: 8.102 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004508/0.9304, allocations: 1.894 MB / 1.041 GB, free: 6.203 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.002256/0.9326, allocations: 1.076 MB / 1.042 GB, free: 5.258 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005697/0.9384, allocations: 3.527 MB / 1.046 GB, free: 1.715 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.9384, allocations: 4.625 kB / 1.046 GB, free: 1.707 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.9399, allocations: 0.9274 MB / 1.047 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007703/0.9476, allocations: 1.795 MB / 1.049 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.9584, allocations: 6.834 MB / 1.055 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002001/0.9604, allocations: 2.411 MB / 1.058 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00355/0.964, allocations: 1.073 MB / 1.059 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006946/0.9647, allocations: 283.3 kB / 1.059 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of SimCode: time 7.92e-07/0.9647, allocations: 0 / 1.059 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of Templates: time 0.4246/1.389, allocations: 67.2 MB / 1.125 GB, free: 272.7 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)