Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.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.FluidStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage") translateModel(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008477, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.0008264/0.0008264, allocations: 173.3 kB / 15.95 MB, free: 212 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.158/1.158, 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.00171/0.00171, allocations: 270.9 kB / 291.2 MB, free: 1.992 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.7293/0.7293, allocations: 144.6 MB / 487 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 17.47 kB / 0.5683 GB, free: 38.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 83.07 MB / 0.6494 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage): time 0.05294/0.1812, allocations: 58.59 MB / 0.7066 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.199, allocations: 13.96 MB / 0.7203 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.2014, allocations: 79.44 kB / 0.7203 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.2043, allocations: 1.123 MB / 0.7214 GB, free: 9.727 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.007978/0.2123, allocations: 3.003 MB / 0.7244 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006284/0.2186, allocations: 2.359 MB / 0.7267 GB, free: 4.402 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.00746/0.2261, allocations: 5.406 MB / 0.732 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003616/0.2297, allocations: 2.809 MB / 0.7347 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003744/0.2335, allocations: 2.079 MB / 0.7367 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.2361, allocations: 1.637 MB / 0.7383 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000352/0.2365, allocations: 136 kB / 0.7385 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.2389, allocations: 0.7335 MB / 0.7392 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006154/0.2395, allocations: 0.5993 MB / 0.7398 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008503/0.2404, allocations: 0.7188 MB / 0.7405 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00394/0.2443, allocations: 4.423 MB / 0.7448 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.2443, allocations: 3.938 kB / 0.7448 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2443, allocations: 4 kB / 0.7448 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.702e-05/0.2444, allocations: 0 / 0.7448 GB, free: 1.77 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: 631 * Number of variables: 631 Notification: Performance of Generate backend data structure: time 0.005009/0.2494, allocations: 3.211 MB / 0.7479 GB, free: 14.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2495, allocations: 8.031 kB / 0.7479 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009593/0.2504, allocations: 387.7 kB / 0.7483 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004432/0.2549, allocations: 2.78 MB / 0.751 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.255, allocations: 184.9 kB / 0.7512 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003095/0.2553, allocations: 247.9 kB / 0.7514 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004852/0.2602, allocations: 3.376 MB / 0.7547 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/0.2603, allocations: 7.938 kB / 0.7547 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.2605, allocations: 108 kB / 0.7548 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/0.2606, allocations: 71.98 kB / 0.7549 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004123/0.2647, allocations: 2.727 MB / 0.7576 GB, free: 4.387 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.0147/0.2794, allocations: 12.83 MB / 0.7701 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.282, allocations: 1.683 MB / 0.7717 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007413/0.2827, allocations: 1.003 MB / 0.7727 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/0.2842, allocations: 0.9117 MB / 0.7736 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 4.549e-06/0.2842, allocations: 0 / 0.7736 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=132): time 0.00376/0.2879, allocations: 2.326 MB / 0.7759 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.288, allocations: 68.72 kB / 0.7759 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2418/0.5298, allocations: 2.581 MB / 0.7785 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003361/0.5302, allocations: 53.77 kB / 0.7785 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.5312, allocations: 1.34 MB / 0.7798 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/0.5316, allocations: 466 kB / 0.7803 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.5317, allocations: 32.31 kB / 0.7803 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.5318, allocations: 374.3 kB / 0.7807 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.5329, allocations: 0.7393 MB / 0.7814 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.5342, allocations: 1.233 MB / 0.7826 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.5355, allocations: 1.049 MB / 0.7836 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.5355, allocations: 4.781 kB / 0.7836 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003561/0.5391, allocations: 2.397 MB / 0.7859 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.5392, allocations: 68.23 kB / 0.786 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.5392, allocations: 15.59 kB / 0.786 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.16e-05/0.5393, allocations: 28.44 kB / 0.7861 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.5409, allocations: 483 kB / 0.7865 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.843e-05/0.5409, allocations: 34.83 kB / 0.7865 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.5428, allocations: 320.5 kB / 0.7869 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.543, allocations: 82.83 kB / 0.7869 GB, free: 116.3 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.FluidStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.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.FluidStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.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.FluidStorage.storage.vol_HX_1.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.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.FluidStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.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.FluidStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.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.FluidStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.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.FluidStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.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: 68 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 2 * 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.001784/0.5448, allocations: 1.216 MB / 0.7881 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/0.5451, allocations: 250.9 kB / 0.7884 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/0.5482, allocations: 1.929 MB / 0.7902 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.5482, allocations: 18.17 kB / 0.7903 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.5482, allocations: 4.078 kB / 0.7903 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002379/0.5506, allocations: 1.538 MB / 0.7918 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006992/0.5576, allocations: 4.891 MB / 0.7965 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.5577, allocations: 2.344 kB / 0.7965 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.5588, allocations: 313.7 kB / 0.7968 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.5588, allocations: 9.453 kB / 0.7969 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-05/0.5589, allocations: 36.17 kB / 0.7969 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.5589, allocations: 6.875 kB / 0.7969 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5589, allocations: 1.875 kB / 0.7969 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/0.5626, allocations: 3.105 MB / 0.7999 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.5636, allocations: 0.6361 MB / 0.8006 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.5639, allocations: 31.88 kB / 0.8006 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.5653, allocations: 181.1 kB / 0.8008 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.5655, allocations: 93.98 kB / 0.8008 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.5656, allocations: 67.36 kB / 0.8009 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001818/0.5674, allocations: 1.817 MB / 0.8027 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5674, allocations: 1.094 kB / 0.8027 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001861/0.5693, allocations: 0.9257 MB / 0.8036 GB, free: 110.6 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: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow1.count,m_flow2.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * 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.0007226/0.57, allocations: 0.5146 MB / 0.8041 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002149/0.5722, allocations: 1.922 MB / 0.806 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5722, allocations: 0 / 0.806 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009465/0.5732, allocations: 0.8566 MB / 0.8068 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004802/0.578, allocations: 1.489 MB / 0.8083 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006022/0.584, allocations: 6.654 MB / 0.8148 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.5851, allocations: 2.264 MB / 0.817 GB, free: 98.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002073/0.5872, allocations: 0.837 MB / 0.8178 GB, free: 98.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/0.5876, allocations: 211.4 kB / 0.818 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.5876, allocations: 0 / 0.818 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.05818/0.6458, allocations: 52.52 MB / 0.8693 GB, free: 46.01 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.sim & ./BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.pipe 2>&1) Environment - environmentSimulation: