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: translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001368, 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.001533/0.001533, allocations: 198.1 kB / 16.14 MB, free: 6.715 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002586/0.002586, allocations: 282.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 178.6 MB / 0.5068 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 99.28 kB / 0.6057 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1528, allocations: 89.15 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.4242/0.577, allocations: 114.3 MB / 0.8044 GB, free: 6.219 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04778/0.6248, allocations: 29.55 MB / 0.8332 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006242/0.6311, allocations: 146.6 kB / 0.8334 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01126/0.6424, allocations: 4.587 MB / 0.8378 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.6538, allocations: 3.699 MB / 0.8414 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008634/0.6625, allocations: 2.915 MB / 0.8443 GB, free: 10.51 MB / 0.5762 GB [/var/lib/jenkins/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.02336/0.6858, allocations: 16.07 MB / 0.86 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005916/0.6918, allocations: 3.046 MB / 0.863 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007095/0.6989, allocations: 2.94 MB / 0.8658 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005737/0.7047, allocations: 2.878 MB / 0.8687 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000868/0.7056, allocations: 192 kB / 0.8688 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006535/0.7121, allocations: 2.265 MB / 0.871 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001572/0.7137, allocations: 1.008 MB / 0.872 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003752/0.7175, allocations: 2.095 MB / 0.8741 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.7284, allocations: 6.847 MB / 0.8808 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7285, allocations: 0 / 0.8808 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7285, allocations: 0 / 0.8808 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001558/0.7287, allocations: 0 / 0.8808 GB, free: 11.82 MB / 0.6075 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.00976/0.7384, allocations: 4.772 MB / 0.8854 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.7385, allocations: 12.59 kB / 0.8854 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/0.7414, allocations: 0.6273 MB / 0.886 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009477/0.7509, allocations: 4.401 MB / 0.8903 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.7512, allocations: 192.7 kB / 0.8905 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005647/0.7517, allocations: 251.9 kB / 0.8908 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006171/0.7579, allocations: 3.049 MB / 0.8937 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-05/0.758, allocations: 0 / 0.8937 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.7583, allocations: 100 kB / 0.8938 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.7584, allocations: 100.5 kB / 0.8939 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005198/0.7637, allocations: 2.399 MB / 0.8963 GB, free: 11.61 MB / 0.6231 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.02192/0.7856, allocations: 12.92 MB / 0.9089 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.7891, allocations: 1.726 MB / 0.9106 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/0.7911, allocations: 1.022 MB / 0.9116 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008855/0.8, allocations: 4.307 MB / 0.9158 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/0.8001, allocations: 55.56 kB / 0.9158 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001514/0.8016, allocations: 282.1 kB / 0.9161 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 5.43e-06/0.8016, allocations: 0 / 0.9161 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126): time 0.005781/0.8074, allocations: 2.38 MB / 0.9184 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.8075, allocations: 98.11 kB / 0.9185 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006232/0.8138, allocations: 3.387 MB / 0.9218 GB, free: 428 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.814, allocations: 53.7 kB / 0.9219 GB, free: 368 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/0.816, allocations: 1.69 MB / 0.9235 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000589/0.8166, allocations: 457.5 kB / 0.924 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008028/0.8174, allocations: 451.7 kB / 0.9244 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8175, allocations: 301.1 kB / 0.9247 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.8192, allocations: 0.8528 MB / 0.9255 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/0.8215, allocations: 1.453 MB / 0.9269 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01715/0.8386, allocations: 4.561 MB / 0.9314 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.816e-05/0.8387, allocations: 4 kB / 0.9314 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.006896/0.8456, allocations: 2.84 MB / 0.9342 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.8457, allocations: 14.34 kB / 0.9342 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.439e-05/0.8457, allocations: 20 kB / 0.9342 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005788/0.8463, allocations: 180.8 kB / 0.9344 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.8482, allocations: 479.3 kB / 0.9348 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/0.8512, allocations: 2.295 MB / 0.9371 GB, free: 120 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/0.8542, allocations: 215.7 kB / 0.9373 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/0.8545, allocations: 91.98 kB / 0.9374 GB, free: 15.82 MB / 0.67 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.003887/0.8584, allocations: 1.919 MB / 0.9392 GB, free: 13.89 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00228/0.8607, allocations: 1.449 MB / 0.9407 GB, free: 12.18 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01626/0.8769, allocations: 4.501 MB / 0.9451 GB, free: 7.438 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.086e-05/0.877, allocations: 4 kB / 0.9451 GB, free: 7.434 MB / 0.67 GB Notification: Performance of matching and sorting (n=289) (initialization_lambda0): time 0.006185/0.8832, allocations: 2.803 MB / 0.9478 GB, free: 4.617 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.8832, allocations: 12 kB / 0.9478 GB, free: 4.605 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.8833, allocations: 20 kB / 0.9478 GB, free: 4.586 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004955/0.8838, allocations: 185.4 kB / 0.948 GB, free: 4.402 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.8856, allocations: 471.3 kB / 0.9485 GB, free: 3.941 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.8883, allocations: 2.299 MB / 0.9507 GB, free: 1.508 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/0.891, allocations: 212 kB / 0.9509 GB, free: 1.301 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/0.8913, allocations: 91.98 kB / 0.951 GB, free: 1.211 MB / 0.67 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.0008751/0.8922, allocations: 0.5001 MB / 0.9515 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/0.8932, allocations: 335.7 kB / 0.9518 GB, free: 376 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/0.8979, allocations: 2.005 MB / 0.9538 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.898, allocations: 16 kB / 0.9538 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.898, allocations: 0 / 0.9538 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003142/0.9011, allocations: 1.757 MB / 0.9555 GB, free: 12.51 MB / 0.6856 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.01017/0.9113, allocations: 4.603 MB / 0.96 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.9114, allocations: 0 / 0.96 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.9127, allocations: 267.5 kB / 0.9602 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.9132, allocations: 156.7 kB / 0.9604 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.9133, allocations: 35.97 kB / 0.9604 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002738/0.9161, allocations: 2.264 MB / 0.9626 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.9161, allocations: 0 / 0.9626 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005853/0.9219, allocations: 2.795 MB / 0.9654 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/0.924, allocations: 0.5983 MB / 0.9659 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009998/0.925, allocations: 35.92 kB / 0.966 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/0.9278, allocations: 167.6 kB / 0.9661 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/0.9281, allocations: 85.19 kB / 0.9662 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002481/0.9284, allocations: 67.94 kB / 0.9663 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.005853/0.9343, allocations: 2.288 MB / 0.9685 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9343, allocations: 0 / 0.9685 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.008544/0.9428, allocations: 1.859 MB / 0.9703 GB, free: 13.06 MB / 0.7012 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.003992/0.9469, allocations: 1.037 MB / 0.9713 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007243/0.9541, allocations: 3.516 MB / 0.9748 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.9542, allocations: 8.625 kB / 0.9748 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.956, allocations: 0.9235 MB / 0.9757 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00945/0.9655, allocations: 1.717 MB / 0.9774 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.9808, allocations: 8.038 MB / 0.9852 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003421/0.9843, allocations: 2.408 MB / 0.9876 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005519/0.9899, allocations: 1.067 MB / 0.9886 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/0.9911, allocations: 275.3 kB / 0.9889 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of SimCode: time 1.262e-06/0.9911, allocations: 0 / 0.9889 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of Templates: time 0.4018/1.393, allocations: 65.96 MB / 1.053 GB, free: 270.8 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.makefile (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 & ./BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1)