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: "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.272/1.272, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 291 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.899/0.899, allocations: 169.2 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 95.88 kB / 0.5955 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1403, allocations: 86.98 MB / 0.6804 GB, free: 488 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.3945/0.5349, allocations: 115 MB / 0.7928 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03266/0.5676, allocations: 29.39 MB / 0.8215 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007898/0.5755, allocations: 161.9 kB / 0.8216 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.008262/0.5838, allocations: 2.464 MB / 0.824 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.5939, allocations: 4.093 MB / 0.828 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007623/0.6015, allocations: 3.282 MB / 0.8312 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01653/0.6181, allocations: 12.89 MB / 0.8438 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005228/0.6233, allocations: 3.738 MB / 0.8475 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0079/0.6313, allocations: 3.595 MB / 0.851 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005258/0.6365, allocations: 2.885 MB / 0.8538 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.6377, allocations: 396.4 kB / 0.8542 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006085/0.6438, allocations: 2.47 MB / 0.8566 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.6453, allocations: 1.2 MB / 0.8578 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004329/0.6497, allocations: 2.322 MB / 0.86 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.6609, allocations: 7.062 MB / 0.8669 GB, free: 344 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.661, allocations: 0 / 0.8669 GB, free: 344 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.661, allocations: 0 / 0.8669 GB, free: 344 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001412/0.6611, allocations: 0 / 0.8669 GB, free: 344 kB / 0.5762 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.00833/0.6695, allocations: 4.79 MB / 0.8716 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.6695, allocations: 8.031 kB / 0.8716 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004162/0.6699, allocations: 344.1 kB / 0.872 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00256/0.6725, allocations: 0.6273 MB / 0.8726 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007076/0.6796, allocations: 4.436 MB / 0.8769 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.6798, allocations: 188.7 kB / 0.8771 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003986/0.6802, allocations: 250.3 kB / 0.8773 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0049/0.6851, allocations: 3.045 MB / 0.8803 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.969e-05/0.6851, allocations: 7.938 kB / 0.8803 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.6854, allocations: 100 kB / 0.8804 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.775e-05/0.6855, allocations: 100.5 kB / 0.8805 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004149/0.6896, allocations: 2.375 MB / 0.8828 GB, free: 72 kB / 0.5919 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.01865/0.7083, allocations: 12.92 MB / 0.8954 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/0.7112, allocations: 1.713 MB / 0.8971 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.7128, allocations: 1.028 MB / 0.8981 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006562/0.7194, allocations: 4.327 MB / 0.9023 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.7194, allocations: 55.5 kB / 0.9024 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006785/0.7201, allocations: 145.4 kB / 0.9025 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=125): time 2.805e-06/0.7201, allocations: 0 / 0.9025 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=125): time 0.004397/0.7245, allocations: 2.389 MB / 0.9049 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.7246, allocations: 90.11 kB / 0.9049 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004242/0.7288, allocations: 3.469 MB / 0.9083 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.729, allocations: 53.7 kB / 0.9084 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.7303, allocations: 1.697 MB / 0.91 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000391/0.7307, allocations: 451.5 kB / 0.9105 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006029/0.7313, allocations: 463.5 kB / 0.9109 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.7314, allocations: 301.1 kB / 0.9112 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.7328, allocations: 0.8459 MB / 0.912 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.7346, allocations: 1.453 MB / 0.9134 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/0.7497, allocations: 4.569 MB / 0.9179 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.7498, allocations: 4 kB / 0.9179 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005028/0.7548, allocations: 2.829 MB / 0.9207 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.7548, allocations: 12 kB / 0.9207 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.7549, allocations: 16 kB / 0.9207 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004875/0.7554, allocations: 184.8 kB / 0.9209 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.757, allocations: 471.3 kB / 0.9213 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.7595, allocations: 2.521 MB / 0.9238 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.7617, allocations: 119.2 kB / 0.9239 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.7619, allocations: 96.08 kB / 0.924 GB, free: 4.445 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00331/0.7652, allocations: 1.914 MB / 0.9259 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001864/0.7671, allocations: 1.448 MB / 0.9273 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01466/0.7818, allocations: 4.506 MB / 0.9317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-05/0.7818, allocations: 4 kB / 0.9317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004716/0.7865, allocations: 2.808 MB / 0.9344 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.7866, allocations: 12 kB / 0.9344 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.7866, allocations: 19.94 kB / 0.9344 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004073/0.787, allocations: 176.9 kB / 0.9346 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.7886, allocations: 471.2 kB / 0.9351 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.7909, allocations: 2.509 MB / 0.9375 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/0.7932, allocations: 126.5 kB / 0.9376 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.7933, allocations: 91.98 kB / 0.9377 GB, free: 5.727 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.control.y,control.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (245): * Single equations (assignments): 242 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006954/0.7941, allocations: 0.4922 MB / 0.9382 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005833/0.7946, allocations: 335.8 kB / 0.9385 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/0.7984, allocations: 1.992 MB / 0.9405 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.7984, allocations: 12 kB / 0.9405 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.7985, allocations: 4 kB / 0.9405 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002529/0.801, allocations: 1.761 MB / 0.9422 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.8047, allocations: 2.638 MB / 0.9448 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.8047, allocations: 4 kB / 0.9448 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.8059, allocations: 259.6 kB / 0.945 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003883/0.8063, allocations: 156.6 kB / 0.9452 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.964e-05/0.8064, allocations: 39.97 kB / 0.9452 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.8087, allocations: 2.489 MB / 0.9477 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8087, allocations: 0 / 0.9477 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004692/0.8134, allocations: 2.815 MB / 0.9504 GB, free: 8.484 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.8146, allocations: 0.6022 MB / 0.951 GB, free: 7.859 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003989/0.815, allocations: 28 kB / 0.951 GB, free: 7.832 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/0.8165, allocations: 87.91 kB / 0.9511 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.8167, allocations: 89.11 kB / 0.9512 GB, free: 7.656 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.8168, allocations: 67.89 kB / 0.9513 GB, free: 7.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003504/0.8203, allocations: 2.358 MB / 0.9536 GB, free: 5.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8203, allocations: 0 / 0.9536 GB, free: 5.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005077/0.8254, allocations: 1.871 MB / 0.9554 GB, free: 3.375 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 (124): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007164/0.8326, allocations: 4.333 MB / 0.9596 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006405/0.839, allocations: 3.518 MB / 0.963 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8391, allocations: 0.5625 kB / 0.963 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.8407, allocations: 0.933 MB / 0.964 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0073/0.848, allocations: 1.816 MB / 0.9657 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03786/0.8859, allocations: 25.08 MB / 0.9902 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/0.888, allocations: 2.412 MB / 0.9926 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003455/0.8915, allocations: 1.074 MB / 0.9936 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/0.8936, allocations: 1.53 MB / 0.9951 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of SimCode: time 8.62e-07/0.8936, allocations: 0 / 0.9951 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3824/1.276, allocations: 94.65 MB / 1.088 GB, free: 292.6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/17.01, allocations: 9.719 kB / 1.088 GB, free: 292.6 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage_fmu --startTime=0 --stopTime=20000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage.fmu > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1)