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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8342/0.8342, allocations: 143.4 MB / 159.2 MB, free: 4.934 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 184.5 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 103.7 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002176/0.002176, allocations: 276.5 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 79.88 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4398, allocations: 81.29 MB / 0.7679 GB, free: 27.63 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1363/0.5762, allocations: 113.8 MB / 0.8791 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.3857/0.962, allocations: 27.51 MB / 0.9059 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005378/0.9674, allocations: 130.8 kB / 0.906 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004047/0.9715, allocations: 1.405 MB / 0.9074 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.9816, allocations: 3.612 MB / 0.9109 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.008925/0.9905, allocations: 2.852 MB / 0.9137 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01902/1.01, allocations: 13.05 MB / 0.9265 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005907/1.015, allocations: 3.024 MB / 0.9294 GB, free: 9.879 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007784/1.023, allocations: 2.982 MB / 0.9323 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005061/1.028, allocations: 2.814 MB / 0.9351 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001289/1.03, allocations: 193.2 kB / 0.9353 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006265/1.036, allocations: 2.05 MB / 0.9373 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001645/1.038, allocations: 0.8644 MB / 0.9381 GB, free: 9.055 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.004461/1.042, allocations: 1.917 MB / 0.94 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/1.052, allocations: 6.26 MB / 0.9461 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.052, allocations: 0 / 0.9461 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.754e-06/1.052, allocations: 0 / 0.9461 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002193/1.053, allocations: 4 kB / 0.9461 GB, free: 7.336 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 603 * Number of variables: 603 Notification: Performance of Generate backend data structure: time 0.01151/1.064, allocations: 4.328 MB / 0.9503 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.064, allocations: 9.594 kB / 0.9503 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002514/1.067, allocations: 0.4986 MB / 0.9508 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007848/1.074, allocations: 3.338 MB / 0.9541 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/1.075, allocations: 184.9 kB / 0.9543 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009782/1.076, allocations: 245.8 kB / 0.9545 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007359/1.083, allocations: 3.009 MB / 0.9574 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.305e-05/1.083, allocations: 9.75 kB / 0.9575 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004495/1.084, allocations: 105.3 kB / 0.9576 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.584e-05/1.084, allocations: 96.77 kB / 0.9576 GB, free: 2.375 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004491/1.088, allocations: 2.34 MB / 0.9599 GB, free: 1.984 MB / 0.5573 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.01847/1.107, allocations: 12.51 MB / 0.9721 GB, free: 8.059 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/1.11, allocations: 1.701 MB / 0.9738 GB, free: 6.324 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/1.111, allocations: 1.019 MB / 0.9748 GB, free: 5.305 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007853/1.119, allocations: 4.243 MB / 0.9789 GB, free: 0.8633 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/1.119, allocations: 55.16 kB / 0.979 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001526/1.121, allocations: 262.3 kB / 0.9793 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of pre-optimization done (n=127): time 5.17e-06/1.121, allocations: 0 / 0.9793 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of matching and sorting (n=127): time 0.004985/1.126, allocations: 2.326 MB / 0.9815 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/1.126, allocations: 90.42 kB / 0.9816 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00492/1.131, allocations: 2.781 MB / 0.9843 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002263/1.131, allocations: 53.7 kB / 0.9844 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/1.133, allocations: 1.534 MB / 0.9859 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005702/1.133, allocations: 465.7 kB / 0.9863 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006354/1.134, allocations: 343.2 kB / 0.9866 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.134, allocations: 305.1 kB / 0.9869 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/1.135, allocations: 0.6528 MB / 0.9876 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/1.137, allocations: 1.21 MB / 0.9888 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/1.151, allocations: 4.221 MB / 0.9929 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/1.151, allocations: 4 kB / 0.9929 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004891/1.156, allocations: 2.317 MB / 0.9951 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/1.156, allocations: 12 kB / 0.9952 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/1.156, allocations: 16 kB / 0.9952 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004932/1.157, allocations: 176.9 kB / 0.9953 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/1.158, allocations: 431.2 kB / 0.9958 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/1.161, allocations: 2.291 MB / 0.998 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/1.164, allocations: 184.3 kB / 0.9982 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/1.164, allocations: 79.98 kB / 0.9982 GB, free: 12.64 MB / 0.6042 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.003156/1.167, allocations: 1.613 MB / 0.9998 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001602/1.169, allocations: 1.186 MB / 1.001 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01405/1.183, allocations: 4.093 MB / 1.005 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.123e-05/1.183, allocations: 7.984 kB / 1.005 GB, free: 5.352 MB / 0.6042 GB Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.004871/1.188, allocations: 2.269 MB / 1.007 GB, free: 3.168 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.188, allocations: 12 kB / 1.007 GB, free: 3.156 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/1.188, allocations: 16 kB / 1.007 GB, free: 3.141 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004316/1.188, allocations: 186.2 kB / 1.007 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/1.19, allocations: 416.1 kB / 1.008 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/1.192, allocations: 2.282 MB / 1.01 GB, free: 188 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/1.195, allocations: 182.3 kB / 1.01 GB, free: 8 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/1.195, allocations: 91.92 kB / 1.01 GB, free: 15.92 MB / 0.6198 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: 74 * 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 (212): * Single equations (assignments): 210 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0008453/1.196, allocations: 495.6 kB / 1.011 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009468/1.197, allocations: 292.4 kB / 1.011 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/1.201, allocations: 1.953 MB / 1.013 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/1.201, allocations: 16 kB / 1.013 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.201, allocations: 0 / 1.013 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002557/1.204, allocations: 1.743 MB / 1.015 GB, free: 11.39 MB / 0.6198 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 postOpt removeSimpleEquations (simulation): time 0.008614/1.212, allocations: 4.39 MB / 1.019 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.212, allocations: 0 / 1.019 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.213, allocations: 253.7 kB / 1.019 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000404/1.214, allocations: 157 kB / 1.019 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/1.214, allocations: 39.92 kB / 1.019 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/1.216, allocations: 2.264 MB / 1.022 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.216, allocations: 0 / 1.022 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04596/1.262, allocations: 20.53 MB / 1.042 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/1.264, allocations: 0.5364 MB / 1.042 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005846/1.264, allocations: 28 kB / 1.042 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/1.266, allocations: 159.2 kB / 1.042 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/1.266, allocations: 89.17 kB / 1.042 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.266, allocations: 63.95 kB / 1.042 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003279/1.27, allocations: 1.895 MB / 1.044 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/1.27, allocations: 0 / 1.044 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.009531/1.279, allocations: 2.656 MB / 1.047 GB, free: 9.953 MB / 0.6511 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 (126): * Single equations (assignments): 119 * 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.002491/1.282, allocations: 0.9739 MB / 1.048 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005316/1.287, allocations: 2.965 MB / 1.051 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.287, allocations: 2.5 kB / 1.051 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/1.289, allocations: 0.9157 MB / 1.052 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008253/1.297, allocations: 1.546 MB / 1.053 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.311, allocations: 8.322 MB / 1.061 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00291/1.314, allocations: 2.247 MB / 1.064 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004586/1.318, allocations: 0.9786 MB / 1.064 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.319, allocations: 267.3 kB / 1.065 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of SimCode: time 1.362e-06/1.32, allocations: 0 / 1.065 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of Templates: time 0.1107/1.43, allocations: 67.02 MB / 1.13 GB, free: 5.668 MB / 0.7292 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)