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: "" <> buildModelFMU(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_ThermalStorages_Examples_FluidStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_ThermalStorages_Examples_FluidStorage",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.001024/0.001024, allocations: 99.55 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.001172/0.001172, 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.361/1.361, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001704/0.001704, allocations: 274.8 kB / 291.2 MB, free: 2.016 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.7554/0.7554, allocations: 144.6 MB / 487 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004137, allocations: 20.09 kB / 0.5684 GB, free: 38.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 83.09 MB / 0.6495 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage): time 0.05674/0.1935, allocations: 58.59 MB / 0.7067 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.2124, allocations: 13.95 MB / 0.7204 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/0.2151, allocations: 79.44 kB / 0.7204 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.2187, allocations: 1.108 MB / 0.7215 GB, free: 9.715 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.008663/0.2274, allocations: 3.019 MB / 0.7245 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006521/0.2339, allocations: 2.365 MB / 0.7268 GB, free: 4.375 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.007833/0.2417, allocations: 5.405 MB / 0.7321 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003725/0.2455, allocations: 2.809 MB / 0.7348 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.2491, allocations: 2.071 MB / 0.7368 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002769/0.2519, allocations: 1.637 MB / 0.7384 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004187/0.2523, allocations: 140 kB / 0.7386 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.2548, allocations: 0.7412 MB / 0.7393 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006687/0.2555, allocations: 0.5955 MB / 0.7399 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009575/0.2564, allocations: 0.7188 MB / 0.7406 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004119/0.2605, allocations: 4.435 MB / 0.7449 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2606, allocations: 0 / 0.7449 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2606, allocations: 0 / 0.7449 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.722e-05/0.2606, allocations: 0 / 0.7449 GB, free: 1.738 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.005112/0.2658, allocations: 3.2 MB / 0.748 GB, free: 14.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2658, allocations: 15.97 kB / 0.748 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000485/0.2663, allocations: 358 kB / 0.7484 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009401/0.2672, allocations: 395.7 kB / 0.7487 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004699/0.2719, allocations: 2.769 MB / 0.7515 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.2721, allocations: 192.9 kB / 0.7516 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/0.2724, allocations: 247.9 kB / 0.7519 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004941/0.2774, allocations: 3.379 MB / 0.7552 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-05/0.2774, allocations: 7.938 kB / 0.7552 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.2777, allocations: 108 kB / 0.7553 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.589e-05/0.2777, allocations: 68 kB / 0.7553 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004136/0.2819, allocations: 2.731 MB / 0.758 GB, free: 3.992 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.01498/0.2969, allocations: 12.83 MB / 0.7705 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.2995, allocations: 1.672 MB / 0.7722 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000777/0.3003, allocations: 1.007 MB / 0.7732 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/0.3017, allocations: 0.9156 MB / 0.7741 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.156e-06/0.3017, allocations: 0 / 0.7741 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=132): time 0.003833/0.3056, allocations: 2.315 MB / 0.7763 GB, free: 424 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.3056, allocations: 68.72 kB / 0.7764 GB, free: 344 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2782/0.5839, allocations: 2.587 MB / 0.7789 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003264/0.5842, allocations: 53.92 kB / 0.779 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.5853, allocations: 1.341 MB / 0.7803 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005348/0.5859, allocations: 464.6 kB / 0.7807 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.586, allocations: 36.31 kB / 0.7807 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5861, allocations: 373.2 kB / 0.7811 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.5874, allocations: 0.7357 MB / 0.7818 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.5888, allocations: 1.231 MB / 0.783 GB, free: 117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.5902, allocations: 1.048 MB / 0.784 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.5902, allocations: 4.594 kB / 0.7841 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004251/0.5945, allocations: 2.396 MB / 0.7864 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.5946, allocations: 66.05 kB / 0.7865 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.5946, allocations: 21.25 kB / 0.7865 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.061e-05/0.5946, allocations: 27.06 kB / 0.7865 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.5964, allocations: 481.1 kB / 0.787 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.953e-05/0.5964, allocations: 34.72 kB / 0.787 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.5986, allocations: 323 kB / 0.7873 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.5987, allocations: 82.06 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.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.00206/0.6008, allocations: 1.21 MB / 0.7886 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004974/0.6013, allocations: 255 kB / 0.7888 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003355/0.6047, allocations: 1.935 MB / 0.7907 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.6047, allocations: 13.39 kB / 0.7907 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.6047, allocations: 1.938 kB / 0.7907 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002495/0.6072, allocations: 1.535 MB / 0.7922 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007955/0.6152, allocations: 4.889 MB / 0.797 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.6152, allocations: 3.438 kB / 0.797 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.6165, allocations: 314.6 kB / 0.7973 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.6165, allocations: 10.83 kB / 0.7973 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.6166, allocations: 42.03 kB / 0.7973 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.535e-05/0.6166, allocations: 5.5 kB / 0.7973 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.6166, allocations: 2.75 kB / 0.7973 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004089/0.6207, allocations: 3.102 MB / 0.8004 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.6221, allocations: 0.6357 MB / 0.801 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/0.6224, allocations: 29.08 kB / 0.801 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.6239, allocations: 178.3 kB / 0.8012 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.6241, allocations: 101.6 kB / 0.8013 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.6242, allocations: 67.23 kB / 0.8014 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002226/0.6265, allocations: 1.814 MB / 0.8031 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6265, allocations: 0 / 0.8031 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002457/0.6289, allocations: 0.9276 MB / 0.804 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.004648/0.6336, allocations: 4.435 MB / 0.8084 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002605/0.6362, allocations: 1.921 MB / 0.8102 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.6362, allocations: 4 kB / 0.8102 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.6372, allocations: 0.8588 MB / 0.8111 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005644/0.6429, allocations: 1.473 MB / 0.8125 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03932/0.6822, allocations: 29.07 MB / 0.8409 GB, free: 73.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.6836, allocations: 2.252 MB / 0.8431 GB, free: 71.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002753/0.6863, allocations: 0.8387 MB / 0.8439 GB, free: 70.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/0.6875, allocations: 1.089 MB / 0.845 GB, free: 69.18 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/0.6875, allocations: 0 / 0.845 GB, free: 69.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/0.7957, allocations: 77.77 MB / 0.9209 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.796, allocations: 239.9 kB / 0.9212 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.166/4.962, allocations: 0 / 0.9212 GB, free: 7.898 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_ThermalStorages_Examples_FluidStorage_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Technologies_ThermalStorages_Examples_FluidStorage.fmu > BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage.pipe 2>&1) Environment - environmentSimulation: