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.001127/0.001128, 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.001087/0.001087, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.147/1.147, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001826/0.001826, allocations: 278.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8381/0.8381, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 102 kB / 0.5948 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1284, allocations: 86.98 MB / 0.6797 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.3397/0.468, allocations: 114 MB / 0.791 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02851/0.4966, allocations: 29.16 MB / 0.8195 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004517/0.5011, allocations: 144.2 kB / 0.8197 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.008223/0.5094, allocations: 4.776 MB / 0.8243 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008179/0.5176, allocations: 3.718 MB / 0.828 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006072/0.5236, allocations: 2.966 MB / 0.8309 GB, free: 3.707 MB / 0.5606 GB [/var/lib/jenkins1/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.0125/0.5361, allocations: 13.05 MB / 0.8436 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004094/0.5403, allocations: 3.694 MB / 0.8472 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006443/0.5467, allocations: 3.608 MB / 0.8507 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.5502, allocations: 2.999 MB / 0.8537 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004817/0.5506, allocations: 387.4 kB / 0.854 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004361/0.555, allocations: 2.489 MB / 0.8565 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009201/0.5559, allocations: 1.201 MB / 0.8576 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002079/0.558, allocations: 2.326 MB / 0.8599 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006657/0.5647, allocations: 6.998 MB / 0.8667 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5647, allocations: 0 / 0.8667 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5647, allocations: 7.938 kB / 0.8667 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.699e-05/0.5648, allocations: 0 / 0.8667 GB, free: 15.56 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.006235/0.571, allocations: 4.761 MB / 0.8714 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.5711, allocations: 8.031 kB / 0.8714 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003567/0.5714, allocations: 352.1 kB / 0.8717 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/0.5737, allocations: 0.6273 MB / 0.8723 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005555/0.5793, allocations: 4.409 MB / 0.8766 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.5794, allocations: 187 kB / 0.8768 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/0.5797, allocations: 247.9 kB / 0.8771 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004306/0.584, allocations: 3.054 MB / 0.88 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.837e-05/0.5841, allocations: 4 kB / 0.88 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.5843, allocations: 100 kB / 0.8801 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-05/0.5844, allocations: 100.4 kB / 0.8802 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003658/0.588, allocations: 2.399 MB / 0.8826 GB, free: 15.14 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.01249/0.6006, allocations: 12.9 MB / 0.8952 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.603, allocations: 1.729 MB / 0.8969 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.6045, allocations: 1.028 MB / 0.8979 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005478/0.6099, allocations: 4.309 MB / 0.9021 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.61, allocations: 51.56 kB / 0.9021 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007329/0.6107, allocations: 216.6 kB / 0.9023 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 2.335e-06/0.6107, allocations: 0 / 0.9023 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126): time 0.004083/0.6148, allocations: 2.407 MB / 0.9047 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.6149, allocations: 90.11 kB / 0.9048 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003609/0.6185, allocations: 3.383 MB / 0.9081 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.6186, allocations: 65.69 kB / 0.9081 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.6198, allocations: 1.686 MB / 0.9098 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/0.6202, allocations: 465.2 kB / 0.9102 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005438/0.6207, allocations: 455.6 kB / 0.9107 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.6208, allocations: 301.1 kB / 0.911 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.6221, allocations: 0.8476 MB / 0.9118 GB, free: 424 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.6238, allocations: 1.462 MB / 0.9132 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.014/0.6378, allocations: 4.668 MB / 0.9178 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.6378, allocations: 15.98 kB / 0.9178 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.00428/0.6421, allocations: 2.838 MB / 0.9206 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.6421, allocations: 15.98 kB / 0.9206 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.6421, allocations: 16.91 kB / 0.9206 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.6425, allocations: 176.7 kB / 0.9208 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.6441, allocations: 491.2 kB / 0.9212 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.6463, allocations: 2.51 MB / 0.9237 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.6484, allocations: 213.8 kB / 0.9239 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.6486, allocations: 91.98 kB / 0.924 GB, free: 3.309 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.002642/0.6512, allocations: 1.922 MB / 0.9258 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001612/0.6528, allocations: 1.452 MB / 0.9273 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01379/0.6666, allocations: 4.616 MB / 0.9318 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-05/0.6667, allocations: 4 kB / 0.9318 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=289) (initialization_lambda0): time 0.004299/0.671, allocations: 2.811 MB / 0.9345 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.671, allocations: 12.11 kB / 0.9345 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.671, allocations: 24.81 kB / 0.9346 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003749/0.6714, allocations: 184.6 kB / 0.9347 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.6729, allocations: 477.9 kB / 0.9352 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.6751, allocations: 2.509 MB / 0.9376 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.6772, allocations: 214.8 kB / 0.9378 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.6774, allocations: 96.22 kB / 0.9379 GB, free: 4.352 MB / 0.6544 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.control.y,control.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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.0005897/0.678, allocations: 0.5 MB / 0.9384 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/0.6784, allocations: 331.8 kB / 0.9387 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/0.6818, allocations: 2.023 MB / 0.9407 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.6819, allocations: 19.94 kB / 0.9407 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6819, allocations: 4 kB / 0.9407 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002399/0.6843, allocations: 1.773 MB / 0.9425 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.6874, allocations: 2.609 MB / 0.945 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6874, allocations: 0 / 0.945 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.6885, allocations: 267.6 kB / 0.9453 GB, free: 12.74 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003494/0.6888, allocations: 160.6 kB / 0.9454 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.6889, allocations: 39.97 kB / 0.9455 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.6911, allocations: 2.471 MB / 0.9479 GB, free: 9.938 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.6911, allocations: 0 / 0.9479 GB, free: 9.938 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/0.6952, allocations: 2.836 MB / 0.9506 GB, free: 7.082 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009175/0.6961, allocations: 0.5944 MB / 0.9512 GB, free: 6.465 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.6965, allocations: 28 kB / 0.9512 GB, free: 6.438 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.698, allocations: 171.5 kB / 0.9514 GB, free: 6.27 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.6982, allocations: 85.19 kB / 0.9515 GB, free: 6.184 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.6983, allocations: 67.94 kB / 0.9516 GB, free: 6.117 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002846/0.7012, allocations: 2.292 MB / 0.9538 GB, free: 3.844 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7012, allocations: 0 / 0.9538 GB, free: 3.844 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003877/0.7051, allocations: 1.861 MB / 0.9556 GB, free: 1.98 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (senTemIn.T,senTemOut.T,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2],exp.m,exp.H,CHP.vol.dynBal.U) * Number of discrete variables: 1 (control.y) * Number of discrete states: 1 (control.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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.006227/0.7113, allocations: 4.331 MB / 0.9598 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00673/0.7181, allocations: 4.104 MB / 0.9639 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7181, allocations: 0.5625 kB / 0.9639 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.7194, allocations: 0.9328 MB / 0.9648 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006523/0.7259, allocations: 1.808 MB / 0.9665 GB, free: 7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05094/0.7769, allocations: 30.4 MB / 0.9962 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.7788, allocations: 2.41 MB / 0.9986 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003549/0.7824, allocations: 1.076 MB / 0.9996 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/0.7842, allocations: 1.518 MB / 1.001 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.7842, allocations: 4 kB / 1.001 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.72/2.504, allocations: 95.98 MB / 1.095 GB, free: 291.7 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/2.505, allocations: 310.1 kB / 1.095 GB, free: 291.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.317/7.822, allocations: 4 kB / 1.095 GB, free: 291.3 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)