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.001072/0.001072, allocations: 108 kB / 15.6 MB, free: 132 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.001114/0.001114, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 287 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9132/0.9132, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 101.8 kB / 0.5953 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1555, allocations: 86.97 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.4254/0.581, allocations: 115.1 MB / 0.7926 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03498/0.616, allocations: 29.38 MB / 0.8213 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007343/0.6234, allocations: 157 kB / 0.8215 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.6349, allocations: 4.897 MB / 0.8263 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.6465, allocations: 3.992 MB / 0.8301 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008534/0.6551, allocations: 3.204 MB / 0.8333 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01819/0.6733, allocations: 12.76 MB / 0.8457 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005593/0.6789, allocations: 3.717 MB / 0.8494 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008459/0.6874, allocations: 3.542 MB / 0.8528 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005602/0.693, allocations: 2.851 MB / 0.8556 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001404/0.6944, allocations: 391.2 kB / 0.856 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009176/0.7036, allocations: 2.471 MB / 0.8584 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002431/0.7061, allocations: 1.19 MB / 0.8596 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00532/0.7114, allocations: 2.316 MB / 0.8618 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.7252, allocations: 6.958 MB / 0.8686 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.7253, allocations: 0 / 0.8686 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.077e-06/0.7253, allocations: 4 kB / 0.8686 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002498/0.7255, allocations: 0 / 0.8686 GB, free: 14.69 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.01072/0.7363, allocations: 4.762 MB / 0.8733 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.7363, allocations: 12.03 kB / 0.8733 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005343/0.7369, allocations: 337.4 kB / 0.8736 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/0.7398, allocations: 0.6311 MB / 0.8742 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008005/0.7478, allocations: 4.264 MB / 0.8784 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.7481, allocations: 196.2 kB / 0.8786 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000645/0.7487, allocations: 247.9 kB / 0.8788 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005844/0.7546, allocations: 3.046 MB / 0.8818 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.981e-05/0.7547, allocations: 7.938 kB / 0.8818 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003293/0.7551, allocations: 101.9 kB / 0.8819 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.7552, allocations: 92.52 kB / 0.882 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005622/0.7608, allocations: 2.391 MB / 0.8843 GB, free: 14.41 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.02051/0.7814, allocations: 13.02 MB / 0.897 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.7845, allocations: 1.723 MB / 0.8987 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.7863, allocations: 1.016 MB / 0.8997 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008232/0.7945, allocations: 4.314 MB / 0.9039 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/0.7946, allocations: 59.5 kB / 0.904 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001135/0.7958, allocations: 141 kB / 0.9041 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=125): time 3.958e-06/0.7958, allocations: 7.938 kB / 0.9041 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of matching and sorting (n=125): time 0.005415/0.8012, allocations: 2.393 MB / 0.9064 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.8013, allocations: 94.11 kB / 0.9065 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005255/0.8066, allocations: 3.457 MB / 0.9099 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003024/0.8069, allocations: 53.7 kB / 0.91 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/0.8085, allocations: 1.683 MB / 0.9116 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000593/0.8091, allocations: 464.9 kB / 0.9121 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006368/0.8097, allocations: 447.6 kB / 0.9125 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.8099, allocations: 313 kB / 0.9128 GB, free: 460 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.8113, allocations: 0.8382 MB / 0.9136 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.8132, allocations: 1.457 MB / 0.915 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0155/0.8288, allocations: 4.604 MB / 0.9195 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-05/0.8288, allocations: 4 kB / 0.9195 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.006073/0.8349, allocations: 2.836 MB / 0.9223 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.835, allocations: 12 kB / 0.9223 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/0.835, allocations: 23.98 kB / 0.9223 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00052/0.8355, allocations: 176.8 kB / 0.9225 GB, free: 6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.8373, allocations: 483.2 kB / 0.923 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.84, allocations: 2.503 MB / 0.9254 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/0.8425, allocations: 119.8 kB / 0.9255 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.8428, allocations: 95.92 kB / 0.9256 GB, free: 2.68 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.003606/0.8464, allocations: 1.918 MB / 0.9275 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002009/0.8484, allocations: 1.44 MB / 0.9289 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01485/0.8633, allocations: 4.543 MB / 0.9333 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.057e-05/0.8634, allocations: 4 kB / 0.9333 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.005517/0.8689, allocations: 2.8 MB / 0.9361 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.8689, allocations: 12.3 kB / 0.9361 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.869, allocations: 23.94 kB / 0.9361 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004447/0.8694, allocations: 184.8 kB / 0.9363 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.8711, allocations: 475.3 kB / 0.9367 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.8734, allocations: 2.514 MB / 0.9392 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.8758, allocations: 134.1 kB / 0.9393 GB, free: 4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.876, allocations: 91.98 kB / 0.9394 GB, free: 3.91 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 (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.0007692/0.8768, allocations: 0.4961 MB / 0.9399 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/0.8779, allocations: 335.8 kB / 0.9402 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004347/0.8822, allocations: 2.003 MB / 0.9422 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.8823, allocations: 16 kB / 0.9422 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.8823, allocations: 0 / 0.9422 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002791/0.8851, allocations: 1.765 MB / 0.9439 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005234/0.8903, allocations: 2.636 MB / 0.9465 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/0.8904, allocations: 8 kB / 0.9465 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.8917, allocations: 255.6 kB / 0.9467 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/0.8922, allocations: 156.6 kB / 0.9469 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.8924, allocations: 35.98 kB / 0.9469 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.895, allocations: 2.478 MB / 0.9493 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.895, allocations: 0 / 0.9493 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005355/0.9004, allocations: 2.824 MB / 0.9521 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/0.9019, allocations: 0.5944 MB / 0.9527 GB, free: 6.043 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008018/0.9027, allocations: 28 kB / 0.9527 GB, free: 6.016 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/0.9047, allocations: 87.75 kB / 0.9528 GB, free: 5.93 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.9049, allocations: 93.17 kB / 0.9529 GB, free: 5.836 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/0.9051, allocations: 59.95 kB / 0.9529 GB, free: 5.777 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004423/0.9095, allocations: 2.346 MB / 0.9552 GB, free: 3.449 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9095, allocations: 0 / 0.9552 GB, free: 3.449 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005988/0.9155, allocations: 1.867 MB / 0.957 GB, free: 1.578 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.008237/0.9238, allocations: 4.36 MB / 0.9613 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007698/0.9315, allocations: 4.074 MB / 0.9653 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.9315, allocations: 0.5625 kB / 0.9653 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.9331, allocations: 0.9313 MB / 0.9662 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00843/0.9416, allocations: 1.822 MB / 0.968 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04826/0.9899, allocations: 29.39 MB / 0.9967 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/0.9925, allocations: 2.41 MB / 0.999 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004289/0.9968, allocations: 1.075 MB / 1 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002418/0.9992, allocations: 1.522 MB / 1.002 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of SimCode: time 3.306e-06/0.9993, allocations: 4 kB / 1.002 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.137/2.137, allocations: 97.29 MB / 1.097 GB, free: 291.4 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/13.72, allocations: 4.391 kB / 1.097 GB, free: 291.4 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)