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.001026/0.001026, allocations: 105.9 kB / 15.99 MB, free: 6.359 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.0009743/0.0009742, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.203/1.203, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001944/0.001944, allocations: 293.5 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8732/0.8732, allocations: 169.2 MB / 0.4985 GB, free: 4.648 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 93.59 kB / 0.5953 GB, free: 4.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1499, allocations: 86.97 MB / 0.6803 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.3435/0.4935, allocations: 114 MB / 0.7916 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04091/0.5344, allocations: 29.18 MB / 0.8201 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006085/0.5405, allocations: 142.2 kB / 0.8202 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01035/0.5509, allocations: 4.775 MB / 0.8249 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.5622, allocations: 3.717 MB / 0.8285 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008398/0.5706, allocations: 2.966 MB / 0.8314 GB, free: 12.32 MB / 0.5919 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01711/0.5877, allocations: 13.03 MB / 0.8441 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007778/0.5955, allocations: 3.702 MB / 0.8477 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008733/0.6043, allocations: 3.606 MB / 0.8513 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00477/0.6091, allocations: 2.995 MB / 0.8542 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.6103, allocations: 388 kB / 0.8546 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00653/0.6169, allocations: 2.488 MB / 0.857 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001785/0.6187, allocations: 1.211 MB / 0.8582 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004129/0.6228, allocations: 2.317 MB / 0.8604 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007219/0.63, allocations: 5.586 MB / 0.8659 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.6301, allocations: 4 kB / 0.8659 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6301, allocations: 0 / 0.8659 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001895/0.6303, allocations: 0 / 0.8659 GB, free: 15.31 MB / 0.6231 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.009798/0.6401, allocations: 4.763 MB / 0.8705 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.6401, allocations: 8.031 kB / 0.8706 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/0.643, allocations: 0.6311 MB / 0.8712 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007278/0.6503, allocations: 4.405 MB / 0.8755 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.6505, allocations: 184.7 kB / 0.8756 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005396/0.6511, allocations: 251.9 kB / 0.8759 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005533/0.6566, allocations: 3.045 MB / 0.8789 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.367e-05/0.6567, allocations: 7.938 kB / 0.8789 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/0.657, allocations: 112 kB / 0.879 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.78e-05/0.6571, allocations: 96.52 kB / 0.8791 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004373/0.6614, allocations: 2.395 MB / 0.8814 GB, free: 15.1 MB / 0.6387 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.01709/0.6786, allocations: 12.91 MB / 0.894 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.6814, allocations: 1.725 MB / 0.8957 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.6829, allocations: 1.026 MB / 0.8967 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006942/0.6899, allocations: 4.309 MB / 0.9009 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.69, allocations: 59.52 kB / 0.901 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001298/0.6913, allocations: 218.2 kB / 0.9012 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=126): time 1.101e-05/0.6913, allocations: 3.938 kB / 0.9012 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126): time 0.004971/0.6963, allocations: 2.403 MB / 0.9035 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.6964, allocations: 94.05 kB / 0.9036 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004649/0.701, allocations: 3.395 MB / 0.9069 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.7013, allocations: 53.7 kB / 0.907 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.7026, allocations: 1.69 MB / 0.9086 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004534/0.7031, allocations: 453.5 kB / 0.9091 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006044/0.7037, allocations: 467.5 kB / 0.9095 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.698e-05/0.7038, allocations: 305.1 kB / 0.9098 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.7051, allocations: 0.8489 MB / 0.9106 GB, free: 136 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.7068, allocations: 1.46 MB / 0.912 GB, free: 14.41 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/0.7218, allocations: 4.673 MB / 0.9166 GB, free: 9.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.7219, allocations: 4 kB / 0.9166 GB, free: 9.496 MB / 0.67 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004796/0.7267, allocations: 2.837 MB / 0.9194 GB, free: 6.648 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.7267, allocations: 12.19 kB / 0.9194 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.7268, allocations: 20 kB / 0.9194 GB, free: 6.617 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.7272, allocations: 176.7 kB / 0.9196 GB, free: 6.441 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.7288, allocations: 479.3 kB / 0.92 GB, free: 5.973 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.7311, allocations: 2.521 MB / 0.9225 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/0.7336, allocations: 207.5 kB / 0.9227 GB, free: 3.109 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.7338, allocations: 99.97 kB / 0.9228 GB, free: 3.012 MB / 0.67 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.002923/0.7367, allocations: 1.922 MB / 0.9247 GB, free: 1.082 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001647/0.7384, allocations: 1.444 MB / 0.9261 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01469/0.7531, allocations: 4.621 MB / 0.9306 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.689e-05/0.7532, allocations: 8.094 kB / 0.9306 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=289) (initialization_lambda0): time 0.004637/0.7578, allocations: 2.82 MB / 0.9334 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.7578, allocations: 12 kB / 0.9334 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.7579, allocations: 20.16 kB / 0.9334 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003966/0.7583, allocations: 180.8 kB / 0.9336 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.7598, allocations: 475.2 kB / 0.934 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.762, allocations: 2.51 MB / 0.9365 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/0.7644, allocations: 211.6 kB / 0.9367 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.7646, allocations: 92.09 kB / 0.9368 GB, free: 4.047 MB / 0.6856 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 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 (246): * Single equations (assignments): 243 * 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.0006749/0.7652, allocations: 0.5 MB / 0.9372 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006139/0.7659, allocations: 335.8 kB / 0.9376 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/0.7694, allocations: 2.006 MB / 0.9395 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.7694, allocations: 19.88 kB / 0.9395 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.7694, allocations: 7.984 kB / 0.9396 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002466/0.7719, allocations: 1.777 MB / 0.9413 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.7755, allocations: 2.611 MB / 0.9438 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.7755, allocations: 0 / 0.9438 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.7766, allocations: 271.6 kB / 0.9441 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/0.777, allocations: 160.6 kB / 0.9442 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.113e-05/0.7771, allocations: 39.97 kB / 0.9443 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.7793, allocations: 2.47 MB / 0.9467 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7793, allocations: 4.062 kB / 0.9467 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004447/0.7838, allocations: 2.83 MB / 0.9495 GB, free: 6.734 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.7849, allocations: 0.5983 MB / 0.9501 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003937/0.7853, allocations: 24 kB / 0.9501 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.7869, allocations: 175.7 kB / 0.9502 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.7871, allocations: 89.17 kB / 0.9503 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.7872, allocations: 59.95 kB / 0.9504 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002878/0.7901, allocations: 2.3 MB / 0.9526 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7901, allocations: 0 / 0.9526 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004014/0.7942, allocations: 1.851 MB / 0.9544 GB, free: 1.633 MB / 0.7012 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.002002/0.7962, allocations: 1.04 MB / 0.9555 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006864/0.803, allocations: 4.109 MB / 0.9595 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.8031, allocations: 0.5625 kB / 0.9595 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.8044, allocations: 0.9321 MB / 0.9604 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006767/0.8112, allocations: 1.817 MB / 0.9622 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.8216, allocations: 8.112 MB / 0.9701 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.8234, allocations: 2.366 MB / 0.9724 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009454/0.8243, allocations: 295.3 kB / 0.9727 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.8244, allocations: 0 / 0.9727 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.3561/1.18, allocations: 79.07 MB / 1.05 GB, free: 206.9 MB / 0.7325 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)