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.004489/0.004489, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001081/0.001081, allocations: 195.5 kB / 16.67 MB, free: 5.977 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 278.7 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9021/0.9021, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 95.84 kB / 0.6809 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1543, allocations: 86.96 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.4175/0.5718, allocations: 115.1 MB / 0.8782 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04107/0.6129, allocations: 29.39 MB / 0.9069 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006909/0.6199, allocations: 163.1 kB / 0.9071 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007712/0.6276, allocations: 2.46 MB / 0.9095 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.6385, allocations: 4.086 MB / 0.9135 GB, free: 12.13 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007829/0.6464, allocations: 3.281 MB / 0.9167 GB, free: 8.875 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01691/0.6633, allocations: 12.88 MB / 0.9293 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005146/0.6685, allocations: 3.737 MB / 0.9329 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007604/0.6761, allocations: 3.67 MB / 0.9365 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00497/0.6811, allocations: 2.886 MB / 0.9393 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001573/0.6827, allocations: 396 kB / 0.9397 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006362/0.6891, allocations: 2.476 MB / 0.9421 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001942/0.6911, allocations: 1.203 MB / 0.9433 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004512/0.6956, allocations: 2.325 MB / 0.9456 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.7065, allocations: 7.061 MB / 0.9525 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.7065, allocations: 4 kB / 0.9525 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7065, allocations: 0 / 0.9525 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001718/0.7067, allocations: 0 / 0.9525 GB, free: 4.129 MB / 0.7012 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.00973/0.7165, allocations: 4.774 MB / 0.9571 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.7165, allocations: 12.03 kB / 0.9571 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006831/0.7172, allocations: 349.3 kB / 0.9575 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.72, allocations: 0.6272 MB / 0.9581 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008131/0.7282, allocations: 4.432 MB / 0.9624 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.7284, allocations: 196.7 kB / 0.9626 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008035/0.7292, allocations: 244 kB / 0.9628 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006446/0.7357, allocations: 3.041 MB / 0.9658 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-05/0.7358, allocations: 11.84 kB / 0.9658 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/0.7361, allocations: 103.9 kB / 0.9659 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.313e-05/0.7362, allocations: 96.47 kB / 0.966 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004477/0.7407, allocations: 2.383 MB / 0.9683 GB, free: 3.539 MB / 0.7169 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.01706/0.7578, allocations: 12.92 MB / 0.9809 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.7607, allocations: 1.711 MB / 0.9826 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.7626, allocations: 1.029 MB / 0.9836 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007683/0.7703, allocations: 4.324 MB / 0.9878 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.7703, allocations: 55.5 kB / 0.9879 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001059/0.7714, allocations: 154.2 kB / 0.988 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=125): time 5.981e-06/0.7714, allocations: 0 / 0.988 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=125): time 0.005287/0.7767, allocations: 2.388 MB / 0.9904 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.7768, allocations: 90.11 kB / 0.9905 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006016/0.7828, allocations: 3.473 MB / 0.9939 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000373/0.7832, allocations: 57.7 kB / 0.9939 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.7853, allocations: 1.69 MB / 0.9956 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006092/0.7859, allocations: 453.5 kB / 0.996 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008426/0.7868, allocations: 455.6 kB / 0.9964 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7869, allocations: 305.1 kB / 0.9967 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.7885, allocations: 0.8488 MB / 0.9975 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.7907, allocations: 1.456 MB / 0.999 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/0.8064, allocations: 4.57 MB / 1.003 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-05/0.8065, allocations: 4 kB / 1.003 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005703/0.8122, allocations: 2.824 MB / 1.006 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.8122, allocations: 12 kB / 1.006 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/0.8123, allocations: 16.88 kB / 1.006 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005242/0.8128, allocations: 180.7 kB / 1.006 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.8146, allocations: 483.2 kB / 1.007 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.8174, allocations: 2.498 MB / 1.009 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.82, allocations: 119.8 kB / 1.009 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003063/0.8203, allocations: 95.97 kB / 1.009 GB, free: 7.68 MB / 0.7637 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.003656/0.8239, allocations: 1.933 MB / 1.011 GB, free: 5.742 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001951/0.8259, allocations: 1.44 MB / 1.013 GB, free: 4.039 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0153/0.8412, allocations: 4.519 MB / 1.017 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.917e-05/0.8413, allocations: 7.938 kB / 1.017 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.005973/0.8473, allocations: 2.8 MB / 1.02 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.8473, allocations: 12 kB / 1.02 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.319e-05/0.8474, allocations: 20.84 kB / 1.02 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004896/0.8479, allocations: 172.8 kB / 1.02 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.8496, allocations: 475.3 kB / 1.021 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.8523, allocations: 2.502 MB / 1.023 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/0.8547, allocations: 135.7 kB / 1.023 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/0.855, allocations: 91.98 kB / 1.023 GB, free: 8.922 MB / 0.7794 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.0007805/0.8558, allocations: 0.4953 MB / 1.024 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009641/0.8567, allocations: 343.7 kB / 1.024 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004155/0.8609, allocations: 1.991 MB / 1.026 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.8609, allocations: 16 kB / 1.026 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.861, allocations: 0 / 1.026 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002616/0.8636, allocations: 1.765 MB / 1.028 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/0.8683, allocations: 2.627 MB / 1.03 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/0.8684, allocations: 0 / 1.03 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/0.8698, allocations: 263.6 kB / 1.031 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.8703, allocations: 156.6 kB / 1.031 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.8705, allocations: 43.97 kB / 1.031 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.873, allocations: 2.463 MB / 1.033 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8731, allocations: 0 / 1.033 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005504/0.8786, allocations: 2.815 MB / 1.036 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/0.8804, allocations: 0.61 MB / 1.037 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008028/0.8812, allocations: 24 kB / 1.037 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/0.8832, allocations: 91.98 kB / 1.037 GB, free: 10.92 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.8835, allocations: 93.17 kB / 1.037 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/0.8836, allocations: 63.94 kB / 1.037 GB, free: 10.76 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004306/0.888, allocations: 2.354 MB / 1.039 GB, free: 8.426 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.888, allocations: 0 / 1.039 GB, free: 8.426 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005578/0.8936, allocations: 1.875 MB / 1.041 GB, free: 6.547 MB / 0.795 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.007979/0.9016, allocations: 4.342 MB / 1.045 GB, free: 2.312 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006134/0.9077, allocations: 3.508 MB / 1.049 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.9078, allocations: 4.875 kB / 1.049 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.9094, allocations: 0.9236 MB / 1.049 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007801/0.9172, allocations: 1.808 MB / 1.051 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04733/0.9646, allocations: 25.11 MB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002531/0.9671, allocations: 2.408 MB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003746/0.9709, allocations: 1.082 MB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002357/0.9733, allocations: 1.525 MB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of SimCode: time 1.432e-06/0.9733, allocations: 4 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4318/1.405, allocations: 96.8 MB / 1.175 GB, free: 237.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/17.31, allocations: 19.39 kB / 1.175 GB, free: 237.8 MB / 0.8419 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)