Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.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.ThermalStorages.Examples.FluidStorageChargeDischargeCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle") translateModel(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008218/0.0008216, allocations: 99.86 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.0008616/0.0008615, 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.163/1.163, 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.001626/0.001626, allocations: 270.8 kB / 291.3 MB, free: 1.98 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.7193/0.7193, allocations: 144.6 MB / 487 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 13.81 kB / 0.5683 GB, free: 38.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.124, allocations: 83.08 MB / 0.6494 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle): time 0.0501/0.1742, allocations: 58.66 MB / 0.7067 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01841/0.1926, allocations: 14.04 MB / 0.7204 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002982/0.1956, allocations: 79.44 kB / 0.7205 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003766/0.1994, allocations: 1.166 MB / 0.7216 GB, free: 9.496 MB / 0.5137 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.008754/0.2082, allocations: 3.038 MB / 0.7246 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006027/0.2143, allocations: 2.41 MB / 0.7269 GB, free: 4.094 MB / 0.5137 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.006921/0.2212, allocations: 5.412 MB / 0.7322 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003315/0.2245, allocations: 2.841 MB / 0.735 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003133/0.2277, allocations: 2.071 MB / 0.737 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.2299, allocations: 1.664 MB / 0.7387 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.2302, allocations: 136 kB / 0.7388 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.2325, allocations: 0.7998 MB / 0.7396 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000587/0.2331, allocations: 0.6071 MB / 0.7402 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008355/0.2339, allocations: 0.7227 MB / 0.7409 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00396/0.2379, allocations: 4.478 MB / 0.7452 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2379, allocations: 0 / 0.7452 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2379, allocations: 0 / 0.7452 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.57e-05/0.238, allocations: 4 kB / 0.7452 GB, free: 1.277 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.005025/0.243, allocations: 3.221 MB / 0.7484 GB, free: 13.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2431, allocations: 8.031 kB / 0.7484 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009597/0.244, allocations: 395.7 kB / 0.7488 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00447/0.2485, allocations: 2.796 MB / 0.7515 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.2487, allocations: 185 kB / 0.7517 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.249, allocations: 248 kB / 0.7519 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004671/0.2537, allocations: 3.38 MB / 0.7552 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.143e-05/0.2537, allocations: 15.83 kB / 0.7552 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/0.254, allocations: 104 kB / 0.7553 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.848e-05/0.254, allocations: 72 kB / 0.7554 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003796/0.2578, allocations: 2.688 MB / 0.758 GB, free: 3.898 MB / 0.545 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.01454/0.2724, allocations: 12.86 MB / 0.7706 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.2747, allocations: 1.631 MB / 0.7722 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/0.2753, allocations: 1.014 MB / 0.7732 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/0.2766, allocations: 0.9121 MB / 0.7741 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=134): time 3.287e-06/0.2766, allocations: 0 / 0.7741 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=134): time 0.003401/0.28, allocations: 2.436 MB / 0.7764 GB, free: 184 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.28, allocations: 94.42 kB / 0.7765 GB, free: 68 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2412/0.5213, allocations: 2.646 MB / 0.7791 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002672/0.5216, allocations: 52.86 kB / 0.7792 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000912/0.5225, allocations: 1.356 MB / 0.7805 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/0.5229, allocations: 469 kB / 0.7809 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.523, allocations: 30.22 kB / 0.781 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.5231, allocations: 377.1 kB / 0.7813 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009356/0.524, allocations: 0.716 MB / 0.782 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.5251, allocations: 1.229 MB / 0.7832 GB, free: 117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.5263, allocations: 1.019 MB / 0.7842 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.5263, allocations: 7.688 kB / 0.7842 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.003322/0.5296, allocations: 2.385 MB / 0.7866 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/0.5297, allocations: 43.39 kB / 0.7866 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.5297, allocations: 16.03 kB / 0.7866 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.743e-05/0.5297, allocations: 27.59 kB / 0.7866 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.5311, allocations: 409.6 kB / 0.787 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-05/0.5311, allocations: 32.23 kB / 0.7871 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.5328, allocations: 312.9 kB / 0.7874 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.533, allocations: 83.58 kB / 0.7874 GB, free: 116.4 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 variables: storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.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.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.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_HX_1.dynBal.U:VARIABLE(start = storage.vol_HX_1.dynBal.fluidVolume * storage.vol_HX_1.dynBal.rho_start * BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.storage.vol_HX_1.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.storage.vol_HX_1.dynBal.Medium.setState_pTX(storage.vol_HX_1.dynBal.p_start, storage.vol_HX_1.dynBal.T_start, {})) + (storage.vol_HX_1.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol[4].dynBal.U:VARIABLE(start = storage.vol[4].dynBal.fluidVolume * storage.vol[4].dynBal.rho_start * BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.storage.vol.dynBal.Medium.setState_pTX(storage.vol[4].dynBal.p_start, storage.vol[4].dynBal.T_start, {})) + (storage.vol[4].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [4] storage.vol[3].dynBal.U:VARIABLE(start = storage.vol[3].dynBal.fluidVolume * storage.vol[3].dynBal.rho_start * BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.storage.vol.dynBal.Medium.setState_pTX(storage.vol[3].dynBal.p_start, storage.vol[3].dynBal.T_start, {})) + (storage.vol[3].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [4] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.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 [4] storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.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 [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,consumptionProfile.a,consumptionProfile.b,consumptionProfile.last,$PRE.consumptionProfile.nextEvent,consumptionProfile.nextEvent,consumptionProfile.nextEventScaled,$PRE.logicControl.y,logicControl.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001713/0.5347, allocations: 1.272 MB / 0.7887 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.535, allocations: 256.6 kB / 0.7889 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/0.5378, allocations: 1.993 MB / 0.7909 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.5379, allocations: 15.73 kB / 0.7909 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5379, allocations: 0 / 0.7909 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002187/0.5401, allocations: 1.612 MB / 0.7925 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006227/0.5463, allocations: 4.952 MB / 0.7973 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5463, allocations: 1.062 kB / 0.7973 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009559/0.5473, allocations: 265.5 kB / 0.7975 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.5473, allocations: 12.77 kB / 0.7976 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/0.5474, allocations: 34.39 kB / 0.7976 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.5474, allocations: 6.562 kB / 0.7976 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5474, allocations: 1.719 kB / 0.7976 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.5504, allocations: 3.184 MB / 0.8007 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009794/0.5514, allocations: 0.6462 MB / 0.8013 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/0.5517, allocations: 35.77 kB / 0.8014 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.5529, allocations: 162.3 kB / 0.8015 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.5531, allocations: 92.56 kB / 0.8016 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.711e-05/0.5532, allocations: 65.64 kB / 0.8017 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001713/0.5549, allocations: 1.853 MB / 0.8035 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5549, allocations: 2.531 kB / 0.8035 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001845/0.5568, allocations: 0.9477 MB / 0.8044 GB, free: 110.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol[3].dynBal.U,storage.vol[4].dynBal.U,storage.vol_HX_1.dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U) * Number of discrete variables: 7 ($whenCondition1,consumptionProfile.a,consumptionProfile.b,consumptionProfile.last,consumptionProfile.nextEvent,consumptionProfile.nextEventScaled,logicControl.y) * Number of discrete states: 7 (logicControl.y,consumptionProfile.nextEvent,consumptionProfile.last,consumptionProfile.nextEventScaled,consumptionProfile.b,consumptionProfile.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007386/0.5575, allocations: 0.5389 MB / 0.8049 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.5594, allocations: 1.885 MB / 0.8068 GB, free: 109 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5594, allocations: 0 / 0.8068 GB, free: 109 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008004/0.5602, allocations: 0.931 MB / 0.8077 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/0.5649, allocations: 1.48 MB / 0.8091 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/0.5706, allocations: 6.775 MB / 0.8158 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.5717, allocations: 2.286 MB / 0.818 GB, free: 98.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001877/0.5736, allocations: 0.8432 MB / 0.8188 GB, free: 97.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.574, allocations: 207.3 kB / 0.819 GB, free: 97.03 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.574, allocations: 0 / 0.819 GB, free: 97.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.05772/0.6317, allocations: 52.91 MB / 0.8707 GB, free: 44.77 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.sim & ./BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.pipe 2>&1) Environment - environmentSimulation: