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.001542/0.001542, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001288/0.001288, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002486/0.002486, allocations: 294.1 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.507 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002833/0.002833, allocations: 105.4 kB / 0.6059 GB, free: 25.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1847, allocations: 89.14 MB / 0.693 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.4272/0.6119, allocations: 114 MB / 0.8043 GB, free: 6.242 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04136/0.6533, allocations: 29.16 MB / 0.8328 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006166/0.6596, allocations: 146.4 kB / 0.8329 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01103/0.6706, allocations: 4.772 MB / 0.8376 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.6831, allocations: 3.717 MB / 0.8412 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009368/0.6925, allocations: 2.965 MB / 0.8441 GB, free: 10.69 MB / 0.5762 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.01885/0.7114, allocations: 13.04 MB / 0.8568 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005599/0.717, allocations: 3.699 MB / 0.8605 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009509/0.7265, allocations: 3.613 MB / 0.864 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005494/0.732, allocations: 2.991 MB / 0.8669 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00097/0.733, allocations: 388 kB / 0.8673 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006266/0.7393, allocations: 2.484 MB / 0.8697 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001608/0.7409, allocations: 1.215 MB / 0.8709 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00363/0.7446, allocations: 2.317 MB / 0.8731 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.7564, allocations: 7.003 MB / 0.88 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.7565, allocations: 0 / 0.88 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7565, allocations: 3.938 kB / 0.88 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002103/0.7567, allocations: 4 kB / 0.88 GB, free: 12.73 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.01001/0.7667, allocations: 4.758 MB / 0.8846 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.7668, allocations: 8.031 kB / 0.8846 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.7696, allocations: 0.6312 MB / 0.8853 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008616/0.7782, allocations: 4.402 MB / 0.8896 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.7785, allocations: 192.7 kB / 0.8897 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004956/0.779, allocations: 243.9 kB / 0.89 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005922/0.7849, allocations: 3.049 MB / 0.893 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.756e-05/0.785, allocations: 7.938 kB / 0.893 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002645/0.7853, allocations: 100 kB / 0.8931 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.7854, allocations: 100.5 kB / 0.8932 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00476/0.7902, allocations: 2.399 MB / 0.8955 GB, free: 12.53 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.01874/0.8089, allocations: 12.91 MB / 0.9081 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.812, allocations: 1.732 MB / 0.9098 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.8139, allocations: 1.026 MB / 0.9108 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007985/0.8219, allocations: 4.312 MB / 0.915 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.822, allocations: 51.56 kB / 0.9151 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001345/0.8233, allocations: 206.2 kB / 0.9153 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 3.065e-06/0.8233, allocations: 0 / 0.9153 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126): time 0.005196/0.8285, allocations: 2.419 MB / 0.9176 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.8286, allocations: 94.05 kB / 0.9177 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004986/0.8336, allocations: 3.387 MB / 0.921 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002081/0.8338, allocations: 53.7 kB / 0.9211 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.8356, allocations: 1.691 MB / 0.9227 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005427/0.8361, allocations: 473.4 kB / 0.9232 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006694/0.8368, allocations: 447.7 kB / 0.9236 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8369, allocations: 309.1 kB / 0.9239 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.8385, allocations: 0.8411 MB / 0.9247 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.8406, allocations: 1.46 MB / 0.9261 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01675/0.8573, allocations: 4.673 MB / 0.9307 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/0.8574, allocations: 4 kB / 0.9307 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.005709/0.8631, allocations: 2.841 MB / 0.9335 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.8631, allocations: 15.94 kB / 0.9335 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.8632, allocations: 20 kB / 0.9335 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000508/0.8637, allocations: 180.9 kB / 0.9337 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.8654, allocations: 479.3 kB / 0.9341 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.8683, allocations: 2.509 MB / 0.9366 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.871, allocations: 223.7 kB / 0.9368 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.8712, allocations: 91.98 kB / 0.9369 GB, free: 432 kB / 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003364/0.8746, allocations: 1.923 MB / 0.9388 GB, free: 14.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001995/0.8766, allocations: 1.444 MB / 0.9402 GB, free: 12.79 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01685/0.8935, allocations: 4.633 MB / 0.9447 GB, free: 7.918 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.543e-05/0.8936, allocations: 11.94 kB / 0.9447 GB, free: 7.906 MB / 0.67 GB Notification: Performance of matching and sorting (n=289) (initialization_lambda0): time 0.006359/0.8999, allocations: 2.812 MB / 0.9475 GB, free: 5.082 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.9, allocations: 13.88 kB / 0.9475 GB, free: 5.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.9, allocations: 16 kB / 0.9475 GB, free: 5.055 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004794/0.9005, allocations: 176.9 kB / 0.9477 GB, free: 4.879 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.9024, allocations: 475.2 kB / 0.9481 GB, free: 4.414 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.9053, allocations: 2.505 MB / 0.9506 GB, free: 1.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.9083, allocations: 208.1 kB / 0.9508 GB, free: 1.566 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/0.9086, allocations: 91.98 kB / 0.9508 GB, free: 1.477 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: 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 (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.0009355/0.9096, allocations: 0.5079 MB / 0.9513 GB, free: 0.957 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/0.9107, allocations: 335.8 kB / 0.9517 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/0.9153, allocations: 2.013 MB / 0.9536 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.9154, allocations: 15.94 kB / 0.9536 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.9154, allocations: 4 kB / 0.9536 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002983/0.9184, allocations: 1.781 MB / 0.9554 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004918/0.9233, allocations: 2.607 MB / 0.9579 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.9233, allocations: 0 / 0.9579 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.9246, allocations: 267.6 kB / 0.9582 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.9251, allocations: 160.6 kB / 0.9583 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.9252, allocations: 35.98 kB / 0.9584 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/0.928, allocations: 2.49 MB / 0.9608 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.928, allocations: 0 / 0.9608 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005556/0.9336, allocations: 2.827 MB / 0.9636 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/0.9352, allocations: 0.5983 MB / 0.9642 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/0.9357, allocations: 31.98 kB / 0.9642 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/0.9376, allocations: 163.6 kB / 0.9643 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.9378, allocations: 93.12 kB / 0.9644 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/0.938, allocations: 63.94 kB / 0.9645 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003886/0.9419, allocations: 2.296 MB / 0.9667 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9419, allocations: 0 / 0.9667 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005388/0.9473, allocations: 1.855 MB / 0.9685 GB, free: 15.04 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 (126): * Single equations (assignments): 119 * 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.002971/0.9503, allocations: 1.026 MB / 0.9695 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008445/0.9587, allocations: 4.1 MB / 0.9735 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.9588, allocations: 6.438 kB / 0.9736 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.9605, allocations: 0.9353 MB / 0.9745 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00799/0.9685, allocations: 1.811 MB / 0.9762 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.9828, allocations: 8.055 MB / 0.9841 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002434/0.9853, allocations: 2.419 MB / 0.9865 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004443/0.9898, allocations: 1.07 MB / 0.9875 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.9909, allocations: 283.3 kB / 0.9878 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of SimCode: time 1.282e-06/0.9909, allocations: 3.938 kB / 0.9878 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.4221/1.413, allocations: 68.12 MB / 1.054 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)