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.001367/0.001367, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001623/0.001623, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 282.6 kB / 290.4 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9322/0.9322, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 88.67 kB / 0.5947 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1511, allocations: 86.99 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.4601/0.6113, allocations: 114 MB / 0.7909 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03728/0.6486, allocations: 29.16 MB / 0.8194 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008327/0.657, allocations: 145.5 kB / 0.8196 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01322/0.6702, allocations: 4.774 MB / 0.8242 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.6832, allocations: 3.715 MB / 0.8278 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008711/0.6919, allocations: 2.959 MB / 0.8307 GB, free: 3.688 MB / 0.5606 GB [/var/lib/jenkins/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.01709/0.709, allocations: 13.06 MB / 0.8435 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005801/0.7149, allocations: 3.707 MB / 0.8471 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009108/0.724, allocations: 3.599 MB / 0.8506 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005505/0.7295, allocations: 3.009 MB / 0.8536 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.7309, allocations: 387.2 kB / 0.8539 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007515/0.7384, allocations: 2.489 MB / 0.8564 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001916/0.7404, allocations: 1.211 MB / 0.8575 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004458/0.7448, allocations: 2.32 MB / 0.8598 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.7567, allocations: 6.995 MB / 0.8666 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.7567, allocations: 0 / 0.8666 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7567, allocations: 0 / 0.8666 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002192/0.757, allocations: 0 / 0.8666 GB, free: 15.62 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.01205/0.769, allocations: 4.769 MB / 0.8713 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.7691, allocations: 8.031 kB / 0.8713 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/0.7728, allocations: 0.6351 MB / 0.8719 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009356/0.7822, allocations: 4.398 MB / 0.8762 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.7825, allocations: 196.7 kB / 0.8764 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008783/0.7834, allocations: 243.9 kB / 0.8766 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007529/0.7909, allocations: 3.051 MB / 0.8796 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.319e-05/0.791, allocations: 4 kB / 0.8796 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005303/0.7916, allocations: 102.3 kB / 0.8797 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.7917, allocations: 100.5 kB / 0.8798 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005517/0.7972, allocations: 2.391 MB / 0.8822 GB, free: 15.55 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.01967/0.8169, allocations: 12.92 MB / 0.8948 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/0.8199, allocations: 1.725 MB / 0.8965 GB, free: 320 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/0.8216, allocations: 1.032 MB / 0.8975 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007531/0.8292, allocations: 4.292 MB / 0.9017 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.8293, allocations: 47.56 kB / 0.9017 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001452/0.8307, allocations: 219.8 kB / 0.9019 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 5.471e-06/0.8307, allocations: 8 kB / 0.9019 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126): time 0.005308/0.8361, allocations: 2.403 MB / 0.9043 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.8361, allocations: 90.11 kB / 0.9044 GB, free: 8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006025/0.8422, allocations: 3.391 MB / 0.9077 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002589/0.8424, allocations: 53.7 kB / 0.9077 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001696/0.8441, allocations: 1.691 MB / 0.9094 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005826/0.8447, allocations: 467.4 kB / 0.9098 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007746/0.8455, allocations: 451.6 kB / 0.9102 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.8456, allocations: 305.1 kB / 0.9105 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.8471, allocations: 0.8515 MB / 0.9114 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.8491, allocations: 1.457 MB / 0.9128 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01631/0.8655, allocations: 4.677 MB / 0.9174 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.348e-05/0.8655, allocations: 8 kB / 0.9174 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.005852/0.8714, allocations: 2.843 MB / 0.9201 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.8714, allocations: 12 kB / 0.9201 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/0.8715, allocations: 20 kB / 0.9202 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/0.872, allocations: 173.5 kB / 0.9203 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.8738, allocations: 487.2 kB / 0.9208 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.8764, allocations: 2.516 MB / 0.9233 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/0.8793, allocations: 215.9 kB / 0.9235 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.8796, allocations: 95.97 kB / 0.9236 GB, free: 3.707 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.003506/0.8831, allocations: 1.914 MB / 0.9254 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00193/0.8851, allocations: 1.452 MB / 0.9268 GB, free: 68 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01524/0.9003, allocations: 4.608 MB / 0.9313 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.206e-05/0.9004, allocations: 11.94 kB / 0.9314 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=289) (initialization_lambda0): time 0.00551/0.9059, allocations: 2.811 MB / 0.9341 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.9059, allocations: 12 kB / 0.9341 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.906, allocations: 19.98 kB / 0.9341 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.9064, allocations: 185.5 kB / 0.9343 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.9081, allocations: 479.3 kB / 0.9348 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.9105, allocations: 2.512 MB / 0.9372 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/0.9133, allocations: 218.6 kB / 0.9374 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.9135, allocations: 87.98 kB / 0.9375 GB, free: 4.758 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: 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.000759/0.9142, allocations: 0.5027 MB / 0.938 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/0.9153, allocations: 339.7 kB / 0.9383 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004143/0.9194, allocations: 2.013 MB / 0.9403 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.9194, allocations: 19.94 kB / 0.9403 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9195, allocations: 0 / 0.9403 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00262/0.9221, allocations: 1.781 MB / 0.942 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005514/0.9276, allocations: 2.602 MB / 0.9446 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-05/0.9277, allocations: 11.98 kB / 0.9446 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.9292, allocations: 263.6 kB / 0.9448 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005488/0.9297, allocations: 160.6 kB / 0.945 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/0.93, allocations: 39.97 kB / 0.945 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/0.9328, allocations: 2.461 MB / 0.9474 GB, free: 10.35 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9328, allocations: 0 / 0.9474 GB, free: 10.35 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005613/0.9384, allocations: 2.841 MB / 0.9502 GB, free: 7.488 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/0.9401, allocations: 0.5944 MB / 0.9508 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008274/0.941, allocations: 31.94 kB / 0.9508 GB, free: 6.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/0.9432, allocations: 163.7 kB / 0.951 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.9435, allocations: 89.17 kB / 0.9511 GB, free: 6.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/0.9437, allocations: 59.95 kB / 0.9511 GB, free: 6.531 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004642/0.9483, allocations: 2.296 MB / 0.9534 GB, free: 4.254 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9483, allocations: 0 / 0.9534 GB, free: 4.254 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006295/0.9546, allocations: 1.871 MB / 0.9552 GB, free: 2.379 MB / 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 (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.002579/0.9572, allocations: 1.036 MB / 0.9562 GB, free: 1.52 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008008/0.9652, allocations: 4.094 MB / 0.9602 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.9653, allocations: 0.75 kB / 0.9602 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.9669, allocations: 0.9353 MB / 0.9611 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008636/0.9755, allocations: 1.824 MB / 0.9629 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.9889, allocations: 8.069 MB / 0.9708 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002841/0.9918, allocations: 2.41 MB / 0.9731 GB, free: 208 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004638/0.9964, allocations: 1.078 MB / 0.9742 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009968/0.9974, allocations: 271.3 kB / 0.9744 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of SimCode: time 7.21e-07/0.9974, allocations: 0 / 0.9744 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of Templates: time 0.121/1.118, allocations: 68.16 MB / 1.041 GB, free: 11.63 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)