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.0008811/0.0008811, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009188/0.0009189, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001674/0.001674, allocations: 258.9 kB / 291.2 MB, free: 1.934 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7396/0.7396, allocations: 144.6 MB / 487 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004808, allocations: 16.19 kB / 0.5684 GB, free: 38.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 83.09 MB / 0.6495 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.07885/0.2013, allocations: 95.85 MB / 0.7431 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02927/0.2307, allocations: 23.97 MB / 0.7665 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.2342, allocations: 131.1 kB / 0.7667 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005259/0.2395, allocations: 1.749 MB / 0.7684 GB, free: 9.586 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:124:10-124:21:writable] Warning: 'each' used when modifying non-array element ThermalConductanceHX_1. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:142:10-142:21:writable] Warning: 'each' used when modifying non-array element ThermalConductanceHX_2. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:186:10-186:27:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:184:10-184:30:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:185:10-185:22:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:193:10-193:27:writable] Warning: 'each' used when modifying non-array element vol_top. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:191:10-191:30:writable] Warning: 'each' used when modifying non-array element vol_top. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:192:10-192:22:writable] Warning: 'each' used when modifying non-array element vol_top. Notification: Performance of NFTyping.typeBindings: time 0.01215/0.2517, allocations: 4.724 MB / 0.773 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009049/0.2608, allocations: 3.447 MB / 0.7764 GB, free: 1.461 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:186:10-186:27:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:193:10-193:27:writable] Warning: 'each' used when modifying non-array element vol_top. Notification: Performance of NFFlatten.flatten: time 0.2582/0.519, allocations: 5.626 MB / 0.7818 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003431/0.5224, allocations: 2.609 MB / 0.7844 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.5266, allocations: 2.399 MB / 0.7867 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.5297, allocations: 1.789 MB / 0.7885 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004342/0.5302, allocations: 142.3 kB / 0.7886 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003868/0.534, allocations: 1.382 MB / 0.79 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007788/0.5348, allocations: 0.7331 MB / 0.7907 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.536, allocations: 0.7771 MB / 0.7914 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004786/0.5408, allocations: 4.789 MB / 0.7961 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.5408, allocations: 6.297 kB / 0.7961 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5408, allocations: 0 / 0.7961 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.67e-05/0.5409, allocations: 0 / 0.7961 GB, free: 15.05 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 603 * Number of variables: 603 Notification: Performance of Generate backend data structure: time 0.006195/0.5471, allocations: 3.63 MB / 0.7997 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5471, allocations: 9.594 kB / 0.7997 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004424/0.5476, allocations: 342.3 kB / 0.8 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/0.5497, allocations: 0.594 MB / 0.8006 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005272/0.555, allocations: 3.165 MB / 0.8037 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.5551, allocations: 190.9 kB / 0.8039 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/0.5554, allocations: 247.4 kB / 0.8041 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00416/0.5596, allocations: 3.02 MB / 0.807 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-05/0.5597, allocations: 13.33 kB / 0.8071 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.5599, allocations: 96.5 kB / 0.8072 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.464e-05/0.56, allocations: 95.83 kB / 0.8072 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/0.5637, allocations: 2.468 MB / 0.8097 GB, free: 11.98 MB / 0.5606 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.0124/0.5761, allocations: 12.76 MB / 0.8221 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.5783, allocations: 1.716 MB / 0.8238 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005779/0.5841, allocations: 4.41 MB / 0.8281 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.5842, allocations: 56.91 kB / 0.8282 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001068/0.5852, allocations: 277 kB / 0.8284 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=127): time 3.036e-06/0.5853, allocations: 0 / 0.8284 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127): time 0.004122/0.5894, allocations: 2.455 MB / 0.8308 GB, free: 19.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.5894, allocations: 93.91 kB / 0.8309 GB, free: 19.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/0.5925, allocations: 2.952 MB / 0.8338 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.5927, allocations: 56.89 kB / 0.8338 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000929/0.5936, allocations: 1.551 MB / 0.8354 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.5939, allocations: 456.1 kB / 0.8358 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.594, allocations: 36.52 kB / 0.8358 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5941, allocations: 379.8 kB / 0.8362 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.5952, allocations: 0.6683 MB / 0.8368 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.5964, allocations: 1.237 MB / 0.838 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.5977, allocations: 0.8858 MB / 0.8389 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-06/0.5977, allocations: 3.281 kB / 0.8389 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003457/0.6012, allocations: 2.359 MB / 0.8412 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.00213/0.6033, allocations: 7.1 MB / 0.8482 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.6033, allocations: 17.88 kB / 0.8482 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/0.6038, allocations: 175.6 kB / 0.8483 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.6052, allocations: 455 kB / 0.8488 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.6072, allocations: 2.316 MB / 0.851 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/0.6096, allocations: 212.7 kB / 0.8512 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.6097, allocations: 87.23 kB / 0.8513 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.613e-06/0.6097, allocations: 3.375 kB / 0.8513 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002775/0.6125, allocations: 2.021 MB / 0.8533 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.6125, allocations: 16.53 kB / 0.8533 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/0.6129, allocations: 184.1 kB / 0.8535 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.6142, allocations: 439 kB / 0.8539 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.6161, allocations: 2.305 MB / 0.8562 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.6182, allocations: 200.4 kB / 0.8563 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.6184, allocations: 81.58 kB / 0.8564 GB, free: 4.676 MB / 0.5762 GB Warning: Assuming fixed start value for the following 6 variables: 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 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 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 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[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[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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (212): * Single equations (assignments): 210 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001762/0.6201, allocations: 1.166 MB / 0.8576 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/0.6205, allocations: 307.5 kB / 0.8579 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/0.6238, allocations: 2.041 MB / 0.8599 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.6239, allocations: 15.66 kB / 0.8599 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6239, allocations: 3.344 kB / 0.8599 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002504/0.6264, allocations: 1.825 MB / 0.8617 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006767/0.6332, allocations: 4.555 MB / 0.8661 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.6332, allocations: 0 / 0.8661 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.6343, allocations: 279 kB / 0.8664 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003414/0.6347, allocations: 150.8 kB / 0.8665 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.601e-05/0.6348, allocations: 39.91 kB / 0.8665 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.6368, allocations: 2.298 MB / 0.8688 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6368, allocations: 3.562 kB / 0.8688 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004321/0.6411, allocations: 2.856 MB / 0.8716 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.6424, allocations: 0.6275 MB / 0.8722 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003181/0.6428, allocations: 28.25 kB / 0.8722 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/0.6444, allocations: 174 kB / 0.8724 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.6446, allocations: 94.39 kB / 0.8725 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.6447, allocations: 77.62 kB / 0.8726 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002681/0.6474, allocations: 2.033 MB / 0.8745 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6474, allocations: 0 / 0.8745 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004299/0.6517, allocations: 1.734 MB / 0.8762 GB, free: 7.055 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006318/0.658, allocations: 4.249 MB / 0.8804 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004622/0.6627, allocations: 3.031 MB / 0.8833 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.6627, allocations: 4.562 kB / 0.8833 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.664, allocations: 0.9551 MB / 0.8843 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005709/0.6698, allocations: 1.493 MB / 0.8857 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.6846, allocations: 20.58 MB / 0.9058 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.6863, allocations: 2.292 MB / 0.9081 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003185/0.6895, allocations: 0.9502 MB / 0.909 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/0.6909, allocations: 1.354 MB / 0.9103 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of SimCode: time 4.7e-07/0.6909, allocations: 0 / 0.9103 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.57/3.261, allocations: 86.67 MB / 0.995 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/3.261, allocations: 275.7 kB / 0.9952 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.482/7.743, allocations: 4 kB / 0.9952 GB, free: 2.625 MB / 0.7012 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/linux/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) Environment - environmentSimulation: