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.0008587/0.0008587, allocations: 99.39 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.0009138/0.000914, 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.176/1.176, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001643/0.001643, allocations: 266.7 kB / 291.2 MB, free: 1.996 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.7393/0.7393, allocations: 144.6 MB / 487 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 13.47 kB / 0.5683 GB, free: 38.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1199, allocations: 83.08 MB / 0.6494 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.08123/0.2012, allocations: 95.85 MB / 0.743 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03101/0.2322, allocations: 23.97 MB / 0.7664 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003846/0.2361, allocations: 131.1 kB / 0.7666 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004828/0.241, allocations: 1.753 MB / 0.7683 GB, free: 9.648 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.01248/0.2535, allocations: 4.724 MB / 0.7729 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008566/0.262, allocations: 3.444 MB / 0.7762 GB, free: 1.527 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.2682/0.5303, allocations: 5.63 MB / 0.7817 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/0.5337, allocations: 2.61 MB / 0.7843 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003952/0.5377, allocations: 2.4 MB / 0.7866 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/0.5401, allocations: 1.785 MB / 0.7884 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003432/0.5405, allocations: 146.4 kB / 0.7885 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.5439, allocations: 1.376 MB / 0.7899 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006705/0.5445, allocations: 0.7323 MB / 0.7906 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008303/0.5454, allocations: 0.7793 MB / 0.7913 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004124/0.5495, allocations: 4.789 MB / 0.796 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.5495, allocations: 0 / 0.796 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5495, allocations: 0 / 0.796 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.035e-05/0.5496, allocations: 0 / 0.796 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.005531/0.5551, allocations: 3.636 MB / 0.7996 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5552, allocations: 9.531 kB / 0.7996 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.5572, allocations: 0.5943 MB / 0.8002 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004908/0.5621, allocations: 3.168 MB / 0.8032 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.5623, allocations: 184.7 kB / 0.8034 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/0.5626, allocations: 245.4 kB / 0.8037 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004001/0.5666, allocations: 3.023 MB / 0.8066 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/0.5667, allocations: 10.22 kB / 0.8066 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.5669, allocations: 113.5 kB / 0.8067 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/0.5669, allocations: 90.69 kB / 0.8068 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003567/0.5705, allocations: 2.468 MB / 0.8092 GB, free: 12.03 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.01122/0.5817, allocations: 12.75 MB / 0.8217 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.584, allocations: 1.722 MB / 0.8234 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005307/0.5893, allocations: 4.406 MB / 0.8277 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.5893, allocations: 59.03 kB / 0.8277 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006955/0.59, allocations: 268.6 kB / 0.828 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=127): time 2.514e-06/0.59, allocations: 0 / 0.828 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127): time 0.003947/0.594, allocations: 2.451 MB / 0.8304 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/0.5942, allocations: 101.9 kB / 0.8305 GB, free: 19.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.597, allocations: 2.961 MB / 0.8334 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.5971, allocations: 52.58 kB / 0.8334 GB, free: 19.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008658/0.598, allocations: 1.549 MB / 0.8349 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/0.5983, allocations: 460.8 kB / 0.8354 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/0.5984, allocations: 35.97 kB / 0.8354 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5985, allocations: 372.2 kB / 0.8358 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.5995, allocations: 0.6669 MB / 0.8364 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.6008, allocations: 1.235 MB / 0.8376 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.602, allocations: 0.8856 MB / 0.8385 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.602, allocations: 7.094 kB / 0.8385 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003187/0.6052, allocations: 2.36 MB / 0.8408 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001844/0.6071, allocations: 7.101 MB / 0.8477 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.6071, allocations: 14.78 kB / 0.8477 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000387/0.6075, allocations: 176.8 kB / 0.8479 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.6089, allocations: 451 kB / 0.8483 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.6108, allocations: 2.318 MB / 0.8506 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.6128, allocations: 213.2 kB / 0.8508 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.6129, allocations: 85.48 kB / 0.8509 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/0.6129, allocations: 4.5 kB / 0.8509 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00267/0.6156, allocations: 2.025 MB / 0.8529 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.6156, allocations: 17.33 kB / 0.8529 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.616, allocations: 186 kB / 0.8531 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.6173, allocations: 431.6 kB / 0.8535 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.619, allocations: 2.317 MB / 0.8557 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.6207, allocations: 189.9 kB / 0.8559 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.6208, allocations: 85.33 kB / 0.856 GB, free: 4.762 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.001559/0.6223, allocations: 1.177 MB / 0.8571 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/0.6227, allocations: 295.5 kB / 0.8574 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/0.6259, allocations: 2.042 MB / 0.8594 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.6259, allocations: 20.23 kB / 0.8594 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6259, allocations: 0 / 0.8594 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002429/0.6284, allocations: 1.818 MB / 0.8612 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006027/0.6344, allocations: 4.566 MB / 0.8657 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6344, allocations: 4 kB / 0.8657 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.6356, allocations: 269.5 kB / 0.8659 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/0.6359, allocations: 151 kB / 0.8661 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.878e-05/0.636, allocations: 41.41 kB / 0.8661 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.6378, allocations: 2.3 MB / 0.8684 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6378, allocations: 0 / 0.8684 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003998/0.6418, allocations: 2.86 MB / 0.8712 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009972/0.6429, allocations: 0.6291 MB / 0.8718 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/0.6432, allocations: 29.5 kB / 0.8718 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.6447, allocations: 170.7 kB / 0.872 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.6449, allocations: 90.8 kB / 0.872 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.645, allocations: 68.06 kB / 0.8721 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002384/0.6474, allocations: 2.03 MB / 0.8741 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6474, allocations: 0 / 0.8741 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004249/0.6517, allocations: 1.738 MB / 0.8758 GB, free: 7.227 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.001798/0.6535, allocations: 0.9391 MB / 0.8767 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004685/0.6582, allocations: 3.041 MB / 0.8797 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.6582, allocations: 0.5625 kB / 0.8797 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.6596, allocations: 0.9561 MB / 0.8806 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006286/0.6659, allocations: 1.499 MB / 0.8821 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.6763, allocations: 7.351 MB / 0.8893 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001874/0.6782, allocations: 2.294 MB / 0.8915 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003295/0.6815, allocations: 0.9589 MB / 0.8924 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006306/0.6821, allocations: 253.5 kB / 0.8927 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.6821, allocations: 0 / 0.8927 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of Templates: time 0.08346/0.7656, allocations: 58.97 MB / 0.9503 GB, free: 14.67 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: