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: "" <> buildModelFMU(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_ThermalStorages_Examples_FluidStorageChargeDischargeCycle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_ThermalStorages_Examples_FluidStorageChargeDischargeCycle",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.0007716/0.0007717, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008042/0.0008042, allocations: 168.7 kB / 15.95 MB, free: 204 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.326/1.326, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001634/0.001634, allocations: 274.5 kB / 291.3 MB, free: 1.973 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.777/0.777, allocations: 144.7 MB / 487.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004308, allocations: 19.33 kB / 0.5686 GB, free: 38.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1459, allocations: 83.08 MB / 0.6497 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle): time 0.05525/0.2012, allocations: 64.63 MB / 0.7128 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.2208, allocations: 15.25 MB / 0.7277 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003261/0.2241, allocations: 83.44 kB / 0.7278 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.2261, allocations: 0.6949 MB / 0.7285 GB, free: 2.68 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: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.005199/0.2313, allocations: 2.044 MB / 0.7305 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003877/0.2352, allocations: 1.337 MB / 0.7318 GB, free: 15.31 MB / 0.5294 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.01049/0.2457, allocations: 10.98 MB / 0.7425 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003836/0.2495, allocations: 2.829 MB / 0.7453 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004773/0.2543, allocations: 2.447 MB / 0.7476 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004172/0.2585, allocations: 2.423 MB / 0.75 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006246/0.2591, allocations: 132 kB / 0.7501 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.2621, allocations: 0.7251 MB / 0.7508 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.2632, allocations: 0.6381 MB / 0.7515 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.2645, allocations: 0.7266 MB / 0.7522 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.2691, allocations: 4.509 MB / 0.7566 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2691, allocations: 4 kB / 0.7566 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2691, allocations: 0 / 0.7566 GB, free: 5.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.877e-05/0.2692, allocations: 0 / 0.7566 GB, free: 5.789 MB / 0.545 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.005393/0.2746, allocations: 3.222 MB / 0.7597 GB, free: 2.496 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2747, allocations: 8.031 kB / 0.7597 GB, free: 2.488 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005145/0.2752, allocations: 362.3 kB / 0.7601 GB, free: 2.125 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/0.2762, allocations: 399.6 kB / 0.7605 GB, free: 1.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/0.2807, allocations: 3.011 MB / 0.7634 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.2808, allocations: 185 kB / 0.7636 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/0.2811, allocations: 259.9 kB / 0.7638 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005194/0.2863, allocations: 3.398 MB / 0.7671 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.154e-05/0.2864, allocations: 7.938 kB / 0.7672 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/0.2866, allocations: 112 kB / 0.7673 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/0.2867, allocations: 71.97 kB / 0.7673 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003959/0.2907, allocations: 2.684 MB / 0.77 GB, free: 7.809 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.3112/0.6019, allocations: 12.73 MB / 0.7824 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.6039, allocations: 1.548 MB / 0.7839 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.6053, allocations: 1.097 MB / 0.785 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005877/0.6059, allocations: 1.007 MB / 0.786 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/0.6073, allocations: 0.9259 MB / 0.7869 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=134): time 3.386e-06/0.6073, allocations: 0 / 0.7869 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=134): time 0.004077/0.6114, allocations: 2.368 MB / 0.7892 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.6114, allocations: 94.92 kB / 0.7893 GB, free: 112 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003826/0.6153, allocations: 2.454 MB / 0.7917 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.6155, allocations: 56.92 kB / 0.7917 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.6167, allocations: 1.356 MB / 0.793 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004889/0.6172, allocations: 469.2 kB / 0.7935 GB, free: 111 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.6173, allocations: 36.56 kB / 0.7935 GB, free: 111 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6175, allocations: 375.1 kB / 0.7939 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.6187, allocations: 0.7215 MB / 0.7946 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.62, allocations: 1.247 MB / 0.7958 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.6213, allocations: 1.013 MB / 0.7968 GB, free: 110 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.6214, allocations: 4.156 kB / 0.7968 GB, free: 110 MB / 0.5606 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.003914/0.6253, allocations: 2.387 MB / 0.7991 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.6254, allocations: 51.22 kB / 0.7992 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.6254, allocations: 16.38 kB / 0.7992 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.053e-05/0.6254, allocations: 28.41 kB / 0.7992 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.6269, allocations: 426.4 kB / 0.7996 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.955e-05/0.6269, allocations: 39.42 kB / 0.7997 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/0.629, allocations: 300 kB / 0.7999 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.6292, allocations: 83.91 kB / 0.8 GB, free: 109.1 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.001939/0.6311, allocations: 1.262 MB / 0.8013 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005084/0.6316, allocations: 257.6 kB / 0.8015 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.6344, allocations: 2.015 MB / 0.8035 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.6345, allocations: 13.94 kB / 0.8035 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6345, allocations: 0 / 0.8035 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001811/0.6363, allocations: 1.609 MB / 0.8051 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006412/0.6427, allocations: 4.877 MB / 0.8098 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.6428, allocations: 1.625 kB / 0.8098 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.6438, allocations: 286.1 kB / 0.8101 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.6438, allocations: 9.656 kB / 0.8101 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.723e-05/0.6439, allocations: 35.98 kB / 0.8101 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.6439, allocations: 12.73 kB / 0.8101 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6439, allocations: 0.875 kB / 0.8101 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/0.6471, allocations: 3.066 MB / 0.8131 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.6482, allocations: 0.6066 MB / 0.8137 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/0.6485, allocations: 33.19 kB / 0.8138 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.6497, allocations: 161.2 kB / 0.8139 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.6499, allocations: 89.64 kB / 0.814 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.65, allocations: 63.86 kB / 0.8141 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001903/0.6519, allocations: 1.708 MB / 0.8157 GB, free: 99.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6519, allocations: 0 / 0.8157 GB, free: 99.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001951/0.6539, allocations: 0.9236 MB / 0.8166 GB, free: 98.88 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.003864/0.6578, allocations: 4.016 MB / 0.8206 GB, free: 94.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.6599, allocations: 1.879 MB / 0.8224 GB, free: 93.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.6599, allocations: 7.938 kB / 0.8224 GB, free: 93.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008654/0.6608, allocations: 0.9281 MB / 0.8233 GB, free: 92.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005296/0.6661, allocations: 1.508 MB / 0.8248 GB, free: 90.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03603/0.7022, allocations: 19.25 MB / 0.8436 GB, free: 70.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001866/0.7041, allocations: 2.234 MB / 0.8458 GB, free: 67.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002939/0.707, allocations: 0.8275 MB / 0.8466 GB, free: 67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/0.7086, allocations: 1.097 MB / 0.8476 GB, free: 65.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/0.7086, allocations: 4 kB / 0.8476 GB, free: 65.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09741/0.806, allocations: 77.06 MB / 0.9229 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/0.8063, allocations: 276.2 kB / 0.9232 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/3.994, allocations: 2.5 kB / 0.9232 GB, free: 5.293 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_ThermalStorages_Examples_FluidStorageChargeDischargeCycle_fmu --startTime=0 --stopTime=200000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Technologies_ThermalStorages_Examples_FluidStorageChargeDischargeCycle.fmu > BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorageChargeDischargeCycle.pipe 2>&1) Environment - environmentSimulation: