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.001267/0.001271, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001149/0.001149, allocations: 195 kB / 16.14 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001979/0.001979, allocations: 283 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.952/0.952, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 94.81 kB / 0.5945 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1646, allocations: 86.99 MB / 0.6794 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.4079/0.5725, allocations: 114.2 MB / 0.791 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03563/0.6081, allocations: 29.54 MB / 0.8199 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008516/0.6167, allocations: 142.9 kB / 0.82 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01259/0.6293, allocations: 4.591 MB / 0.8245 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01235/0.6417, allocations: 3.694 MB / 0.8281 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008123/0.6499, allocations: 2.914 MB / 0.8309 GB, free: 3.672 MB / 0.5606 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.01817/0.668, allocations: 16.08 MB / 0.8466 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005198/0.6733, allocations: 3.054 MB / 0.8496 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006911/0.6802, allocations: 2.933 MB / 0.8525 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005732/0.686, allocations: 2.869 MB / 0.8553 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.6874, allocations: 195.9 kB / 0.8555 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008028/0.6954, allocations: 2.277 MB / 0.8577 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002572/0.698, allocations: 1.006 MB / 0.8587 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006887/0.7049, allocations: 2.091 MB / 0.8607 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.7183, allocations: 6.849 MB / 0.8674 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7183, allocations: 0 / 0.8674 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7183, allocations: 0 / 0.8674 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002283/0.7186, allocations: 4 kB / 0.8674 GB, free: 14.66 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 607 * Number of variables: 607 Notification: Performance of Generate backend data structure: time 0.01112/0.7297, allocations: 4.766 MB / 0.8721 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.7298, allocations: 11.97 kB / 0.8721 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/0.7332, allocations: 0.6273 MB / 0.8727 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008611/0.7419, allocations: 4.402 MB / 0.877 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.7421, allocations: 195.3 kB / 0.8772 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000534/0.7426, allocations: 243.9 kB / 0.8774 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00566/0.7483, allocations: 3.048 MB / 0.8804 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.602e-05/0.7484, allocations: 11.94 kB / 0.8804 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.7487, allocations: 106.6 kB / 0.8805 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.161e-05/0.7488, allocations: 96.52 kB / 0.8806 GB, free: 1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004417/0.7532, allocations: 2.399 MB / 0.8829 GB, free: 14.59 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/0.7728, allocations: 12.9 MB / 0.8955 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.7762, allocations: 1.73 MB / 0.8972 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.7781, allocations: 1.032 MB / 0.8982 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009207/0.7873, allocations: 4.309 MB / 0.9024 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.825e-05/0.7874, allocations: 51.56 kB / 0.9025 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002272/0.7897, allocations: 270.1 kB / 0.9027 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 9.427e-06/0.7897, allocations: 4 kB / 0.9027 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126): time 0.00551/0.7953, allocations: 2.388 MB / 0.9051 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.7953, allocations: 90.11 kB / 0.9052 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005641/0.801, allocations: 3.391 MB / 0.9085 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002406/0.8012, allocations: 53.7 kB / 0.9085 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.8029, allocations: 1.694 MB / 0.9102 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000548/0.8034, allocations: 458.7 kB / 0.9106 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007505/0.8042, allocations: 455.7 kB / 0.911 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.8043, allocations: 305.1 kB / 0.9113 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.8058, allocations: 0.8418 MB / 0.9122 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/0.8079, allocations: 1.465 MB / 0.9136 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01607/0.824, allocations: 4.555 MB / 0.918 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.383e-05/0.824, allocations: 4 kB / 0.918 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.006013/0.83, allocations: 2.827 MB / 0.9208 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.8301, allocations: 14.03 kB / 0.9208 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.8301, allocations: 16 kB / 0.9208 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/0.8307, allocations: 181.3 kB / 0.921 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/0.8325, allocations: 483.2 kB / 0.9215 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.8351, allocations: 2.298 MB / 0.9237 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/0.8381, allocations: 211.2 kB / 0.9239 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/0.8384, allocations: 104 kB / 0.924 GB, free: 3.055 MB / 0.6387 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004037/0.8425, allocations: 1.914 MB / 0.9259 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002121/0.8446, allocations: 1.449 MB / 0.9273 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01572/0.8604, allocations: 4.505 MB / 0.9317 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.08e-05/0.8604, allocations: 4 kB / 0.9317 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=289) (initialization_lambda0): time 0.005547/0.866, allocations: 2.796 MB / 0.9344 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.866, allocations: 12 kB / 0.9344 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.8661, allocations: 24.16 kB / 0.9345 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/0.8665, allocations: 176.7 kB / 0.9346 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.8682, allocations: 475.3 kB / 0.9351 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.8705, allocations: 2.298 MB / 0.9373 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/0.8732, allocations: 215.6 kB / 0.9375 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.8734, allocations: 91.98 kB / 0.9376 GB, free: 4.453 MB / 0.6544 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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.000741/0.8742, allocations: 0.4962 MB / 0.9381 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009048/0.8751, allocations: 335.7 kB / 0.9384 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004013/0.8791, allocations: 1.994 MB / 0.9404 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.8791, allocations: 16 kB / 0.9404 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8791, allocations: 0 / 0.9404 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002722/0.8819, allocations: 1.76 MB / 0.9421 GB, free: 15.77 MB / 0.67 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.007957/0.8898, allocations: 4.619 MB / 0.9466 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.8899, allocations: 0 / 0.9466 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.8911, allocations: 263.6 kB / 0.9469 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/0.8915, allocations: 152.7 kB / 0.947 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-05/0.8916, allocations: 35.97 kB / 0.947 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.8938, allocations: 2.263 MB / 0.9493 GB, free: 8.285 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8938, allocations: 4.062 kB / 0.9493 GB, free: 8.281 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005066/0.8989, allocations: 2.798 MB / 0.952 GB, free: 5.469 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/0.9004, allocations: 0.5983 MB / 0.9526 GB, free: 4.848 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004475/0.9009, allocations: 24 kB / 0.9526 GB, free: 4.824 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.9026, allocations: 183.6 kB / 0.9528 GB, free: 4.645 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.9028, allocations: 89.17 kB / 0.9529 GB, free: 4.555 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.903, allocations: 59.95 kB / 0.9529 GB, free: 4.496 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003255/0.9062, allocations: 2.296 MB / 0.9552 GB, free: 2.219 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.713e-06/0.9063, allocations: 0 / 0.9552 GB, free: 2.219 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005034/0.9113, allocations: 1.867 MB / 0.957 GB, free: 356 kB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (senTemIn.T,senTemOut.T,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2],exp.m,exp.H,CHP.vol.dynBal.U) * Number of discrete variables: 1 (control.y) * Number of discrete states: 1 (control.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 118 * 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.002331/0.9136, allocations: 1.022 MB / 0.958 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006091/0.9198, allocations: 3.52 MB / 0.9614 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.9198, allocations: 4.562 kB / 0.9614 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.9214, allocations: 0.9326 MB / 0.9623 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008749/0.9301, allocations: 1.731 MB / 0.964 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.9417, allocations: 8.029 MB / 0.9719 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/0.9439, allocations: 2.404 MB / 0.9742 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004163/0.9481, allocations: 1.065 MB / 0.9753 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/0.9489, allocations: 283.3 kB / 0.9755 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of SimCode: time 9.01e-07/0.9489, allocations: 0 / 0.9755 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of Templates: time 0.1027/1.052, allocations: 65.99 MB / 1.04 GB, free: 12.36 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.sim & ./BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1)