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.006696/0.006702, allocations: 99.72 kB / 15.73 MB, free: 6.48 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.001365/0.001365, allocations: 193.5 kB / 16.68 MB, free: 6.363 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.468/1.468, 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.002544/0.002544, allocations: 275 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.035/1.035, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 99.84 kB / 0.6809 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1743, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.4767/0.651, allocations: 115.1 MB / 0.8782 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04317/0.6942, allocations: 29.4 MB / 0.907 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005082/0.6993, allocations: 155.2 kB / 0.9071 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006595/0.706, allocations: 2.452 MB / 0.9095 GB, free: 184 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.7165, allocations: 4.091 MB / 0.9135 GB, free: 12.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008202/0.7247, allocations: 3.287 MB / 0.9167 GB, free: 8.809 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01782/0.7425, allocations: 12.88 MB / 0.9293 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006365/0.7489, allocations: 3.731 MB / 0.9329 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008542/0.7575, allocations: 3.592 MB / 0.9364 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005582/0.7631, allocations: 2.886 MB / 0.9392 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.7644, allocations: 396 kB / 0.9396 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006291/0.7707, allocations: 2.492 MB / 0.9421 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001777/0.7725, allocations: 1.195 MB / 0.9432 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003967/0.7764, allocations: 2.325 MB / 0.9455 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.7869, allocations: 7.085 MB / 0.9524 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7869, allocations: 0 / 0.9524 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7869, allocations: 0 / 0.9524 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.223e-05/0.787, allocations: 0 / 0.9524 GB, free: 4.117 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.007697/0.7947, allocations: 4.925 MB / 0.9572 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.7948, allocations: 8.031 kB / 0.9572 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00044/0.7952, allocations: 345.4 kB / 0.9576 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/0.7977, allocations: 0.6492 MB / 0.9582 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007139/0.8049, allocations: 4.462 MB / 0.9625 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.8051, allocations: 192.7 kB / 0.9627 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003858/0.8054, allocations: 252 kB / 0.963 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005336/0.8108, allocations: 3.037 MB / 0.9659 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.147e-05/0.8109, allocations: 7.938 kB / 0.9659 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/0.8111, allocations: 104 kB / 0.966 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-05/0.8112, allocations: 96.52 kB / 0.9661 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004284/0.8155, allocations: 2.375 MB / 0.9685 GB, free: 3.34 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.01592/0.8314, allocations: 12.95 MB / 0.9811 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/0.8343, allocations: 1.715 MB / 0.9828 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.836, allocations: 1.025 MB / 0.9838 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006743/0.8428, allocations: 4.34 MB / 0.988 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.8429, allocations: 51.5 kB / 0.9881 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006268/0.8435, allocations: 158.7 kB / 0.9882 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=125): time 2.645e-06/0.8435, allocations: 0 / 0.9882 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=125): time 0.004709/0.8482, allocations: 2.405 MB / 0.9906 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.8483, allocations: 94.11 kB / 0.9907 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/0.8529, allocations: 3.469 MB / 0.994 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.853, allocations: 53.7 kB / 0.9941 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.8546, allocations: 1.725 MB / 0.9958 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/0.855, allocations: 480 kB / 0.9962 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006458/0.8557, allocations: 459.8 kB / 0.9967 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8558, allocations: 305.1 kB / 0.997 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.8573, allocations: 0.841 MB / 0.9978 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.8593, allocations: 1.456 MB / 0.9992 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/0.8751, allocations: 4.578 MB / 1.004 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.075e-05/0.8751, allocations: 4 kB / 1.004 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005727/0.8809, allocations: 2.838 MB / 1.006 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.8809, allocations: 18.5 kB / 1.006 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.8809, allocations: 16 kB / 1.006 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004746/0.8814, allocations: 180.6 kB / 1.007 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.8831, allocations: 479.2 kB / 1.007 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.8858, allocations: 2.502 MB / 1.01 GB, free: 7.566 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.8878, allocations: 119.8 kB / 1.01 GB, free: 7.449 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.888, allocations: 95.97 kB / 1.01 GB, free: 7.355 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.003079/0.8911, allocations: 1.926 MB / 1.012 GB, free: 5.426 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001884/0.893, allocations: 1.444 MB / 1.013 GB, free: 3.719 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01509/0.9081, allocations: 4.507 MB / 1.017 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.037e-06/0.9081, allocations: 4 kB / 1.017 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004718/0.9128, allocations: 2.822 MB / 1.02 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.9128, allocations: 20.19 kB / 1.02 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.9129, allocations: 16 kB / 1.02 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.9133, allocations: 172.7 kB / 1.02 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.9149, allocations: 475.2 kB / 1.021 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.9175, allocations: 2.506 MB / 1.023 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/0.9195, allocations: 131.8 kB / 1.023 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.9197, allocations: 91.98 kB / 1.024 GB, free: 8.594 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.0006929/0.9204, allocations: 0.4951 MB / 1.024 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005676/0.921, allocations: 357.7 kB / 1.024 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.9248, allocations: 1.995 MB / 1.026 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.9248, allocations: 12 kB / 1.026 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.9249, allocations: 4 kB / 1.026 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002788/0.9277, allocations: 1.761 MB / 1.028 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/0.9314, allocations: 2.635 MB / 1.031 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.9314, allocations: 0 / 1.031 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.9326, allocations: 263.6 kB / 1.031 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003872/0.933, allocations: 160.6 kB / 1.031 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.394e-05/0.9331, allocations: 39.97 kB / 1.031 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.9357, allocations: 2.482 MB / 1.033 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9357, allocations: 4.172 kB / 1.033 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004635/0.9404, allocations: 2.821 MB / 1.036 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.9415, allocations: 0.6196 MB / 1.037 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000338/0.9418, allocations: 28 kB / 1.037 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.9433, allocations: 87.91 kB / 1.037 GB, free: 10.53 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.9435, allocations: 85.17 kB / 1.037 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.9436, allocations: 63.95 kB / 1.037 GB, free: 10.38 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003415/0.947, allocations: 2.358 MB / 1.039 GB, free: 8.043 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9471, allocations: 0 / 1.039 GB, free: 8.043 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004659/0.9517, allocations: 1.887 MB / 1.041 GB, free: 6.152 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.007462/0.9592, allocations: 4.371 MB / 1.046 GB, free: 1.891 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005721/0.9649, allocations: 3.511 MB / 1.049 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.9649, allocations: 0.5625 kB / 1.049 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.9664, allocations: 0.9401 MB / 1.05 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006268/0.9727, allocations: 1.813 MB / 1.052 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03693/1.01, allocations: 25.21 MB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002233/1.012, allocations: 2.419 MB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003239/1.015, allocations: 1.079 MB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/1.017, allocations: 1.518 MB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of SimCode: time 7.71e-07/1.017, allocations: 0 / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.762/4.779, allocations: 95.41 MB / 1.174 GB, free: 235.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.12/23.9, allocations: 14.72 kB / 1.174 GB, free: 235.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)