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.001208/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00126/0.00126, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.204/1.204, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001913/0.001913, allocations: 285.8 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8583/0.8583, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 89.44 kB / 0.5946 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1269, allocations: 86.98 MB / 0.6795 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.3433/0.4703, allocations: 114.3 MB / 0.7911 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02943/0.4998, allocations: 29.54 MB / 0.82 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005819/0.5056, allocations: 146.1 kB / 0.8201 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00952/0.5152, allocations: 4.585 MB / 0.8246 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008683/0.5239, allocations: 3.697 MB / 0.8282 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006444/0.5303, allocations: 2.916 MB / 0.831 GB, free: 3.652 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01505/0.5454, allocations: 16.07 MB / 0.8467 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003816/0.5492, allocations: 3.058 MB / 0.8497 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004744/0.554, allocations: 2.929 MB / 0.8526 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003456/0.5574, allocations: 2.871 MB / 0.8554 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004089/0.5579, allocations: 192.5 kB / 0.8556 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004646/0.5625, allocations: 2.27 MB / 0.8578 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008541/0.5634, allocations: 1.015 MB / 0.8588 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002054/0.5655, allocations: 2.089 MB / 0.8608 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006739/0.5722, allocations: 6.852 MB / 0.8675 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5722, allocations: 0 / 0.8675 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5722, allocations: 0 / 0.8675 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.192e-05/0.5723, allocations: 0 / 0.8675 GB, free: 14.65 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.006671/0.579, allocations: 4.77 MB / 0.8722 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.579, allocations: 8.031 kB / 0.8722 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003781/0.5794, allocations: 352.8 kB / 0.8725 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/0.5818, allocations: 0.6312 MB / 0.8731 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006039/0.5878, allocations: 4.388 MB / 0.8774 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.588, allocations: 200.7 kB / 0.8776 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/0.5883, allocations: 243.9 kB / 0.8778 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004552/0.5929, allocations: 3.049 MB / 0.8808 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/0.5929, allocations: 7.938 kB / 0.8808 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.5931, allocations: 104 kB / 0.8809 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-05/0.5932, allocations: 96.52 kB / 0.881 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004119/0.5974, allocations: 2.391 MB / 0.8833 GB, free: 14.23 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.01465/0.612, allocations: 12.92 MB / 0.896 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.6147, allocations: 1.732 MB / 0.8977 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.6163, allocations: 1.028 MB / 0.8987 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006349/0.6226, allocations: 4.3 MB / 0.9029 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.6227, allocations: 51.56 kB / 0.9029 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001039/0.6237, allocations: 270.1 kB / 0.9032 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 2.685e-06/0.6237, allocations: 0 / 0.9032 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126): time 0.004376/0.6281, allocations: 2.39 MB / 0.9055 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.6282, allocations: 94.05 kB / 0.9056 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/0.6322, allocations: 3.387 MB / 0.9089 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.6323, allocations: 57.7 kB / 0.909 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.6336, allocations: 1.686 MB / 0.9106 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.634, allocations: 468.4 kB / 0.911 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005633/0.6346, allocations: 451.7 kB / 0.9115 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.6347, allocations: 301.1 kB / 0.9118 GB, free: 316 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.636, allocations: 0.8464 MB / 0.9126 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.6377, allocations: 1.459 MB / 0.914 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/0.652, allocations: 4.558 MB / 0.9185 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.6521, allocations: 8 kB / 0.9185 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004658/0.6567, allocations: 2.827 MB / 0.9212 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.6568, allocations: 12 kB / 0.9212 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.6568, allocations: 16 kB / 0.9213 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.6572, allocations: 185.4 kB / 0.9214 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.6588, allocations: 483.2 kB / 0.9219 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.6609, allocations: 2.294 MB / 0.9241 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.6632, allocations: 211.5 kB / 0.9243 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.6633, allocations: 94.09 kB / 0.9244 GB, free: 2.707 MB / 0.6387 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002804/0.6662, allocations: 1.918 MB / 0.9263 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001655/0.6678, allocations: 1.443 MB / 0.9277 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01387/0.6817, allocations: 4.507 MB / 0.9321 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.306e-05/0.6817, allocations: 8 kB / 0.9321 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=289) (initialization_lambda0): time 0.004694/0.6864, allocations: 2.796 MB / 0.9349 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6865, allocations: 16.11 kB / 0.9349 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.6865, allocations: 27.92 kB / 0.9349 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/0.6869, allocations: 176.7 kB / 0.9351 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.6884, allocations: 475.3 kB / 0.9355 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.6905, allocations: 2.295 MB / 0.9378 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.6928, allocations: 218.8 kB / 0.938 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.693, allocations: 95.98 kB / 0.9381 GB, free: 4.094 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: 78 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.control.y,control.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 243 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006116/0.6936, allocations: 0.4929 MB / 0.9385 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007525/0.6944, allocations: 339.7 kB / 0.9389 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003584/0.698, allocations: 1.991 MB / 0.9408 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.698, allocations: 12 kB / 0.9408 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.698, allocations: 4 kB / 0.9408 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002611/0.7006, allocations: 1.761 MB / 0.9425 GB, free: 15.41 MB / 0.67 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 postOpt removeSimpleEquations (simulation): time 0.007547/0.7082, allocations: 4.607 MB / 0.947 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7082, allocations: 3.938 kB / 0.947 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.7093, allocations: 259.6 kB / 0.9473 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003664/0.7097, allocations: 156.7 kB / 0.9474 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.7098, allocations: 39.97 kB / 0.9475 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.7119, allocations: 2.269 MB / 0.9497 GB, free: 7.922 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7119, allocations: 112 / 0.9497 GB, free: 7.922 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/0.7164, allocations: 2.801 MB / 0.9524 GB, free: 5.105 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/0.7178, allocations: 0.5983 MB / 0.953 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005946/0.7184, allocations: 28 kB / 0.953 GB, free: 4.457 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/0.7203, allocations: 171.5 kB / 0.9532 GB, free: 4.289 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.7205, allocations: 93.11 kB / 0.9533 GB, free: 4.195 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.7206, allocations: 59.95 kB / 0.9534 GB, free: 4.137 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003466/0.7241, allocations: 2.3 MB / 0.9556 GB, free: 1.855 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7241, allocations: 0 / 0.9556 GB, free: 1.855 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004655/0.7288, allocations: 1.855 MB / 0.9574 GB, free: 15.99 MB / 0.6856 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 (125): * Single equations (assignments): 118 * 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.006528/0.7353, allocations: 4.292 MB / 0.9616 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005383/0.7407, allocations: 3.521 MB / 0.965 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7407, allocations: 0.5625 kB / 0.965 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.742, allocations: 0.9315 MB / 0.9659 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006631/0.7487, allocations: 1.721 MB / 0.9676 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04936/0.7981, allocations: 30.33 MB / 0.9973 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/0.7999, allocations: 2.408 MB / 0.9996 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003582/0.8035, allocations: 1.074 MB / 1.001 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/0.8053, allocations: 1.518 MB / 1.002 GB, free: 88 kB / 0.7169 GB Notification: Performance of SimCode: time 6.62e-07/0.8053, allocations: 0 / 1.002 GB, free: 88 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.056/1.862, allocations: 93.69 MB / 1.094 GB, free: 289.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/1.862, allocations: 300.8 kB / 1.094 GB, free: 288.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.97/5.832, allocations: 4.641 kB / 1.094 GB, free: 288.9 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)