Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 175.8 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008747/0.0008747, allocations: 90.42 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 9.594 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2704, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03166/0.3021, allocations: 41.21 MB / 0.9404 GB, free: 22.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.3174, allocations: 11.89 MB / 0.952 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002766/0.3202, allocations: 55.62 kB / 0.9521 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002769/0.323, allocations: 0.7617 MB / 0.9528 GB, free: 9.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006997/0.3301, allocations: 1.951 MB / 0.9547 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004154/0.3342, allocations: 1.333 MB / 0.956 GB, free: 6.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01281/0.347, allocations: 10.45 MB / 0.9662 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.3572, allocations: 6.512 MB / 0.9726 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009803/0.3671, allocations: 3.983 MB / 0.9765 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008274/0.3754, allocations: 3.446 MB / 0.9798 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002076/0.3776, allocations: 300 kB / 0.9801 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006533/0.3841, allocations: 0.7961 MB / 0.9809 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003388/0.3875, allocations: 1.288 MB / 0.9821 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004394/0.392, allocations: 1.471 MB / 0.9836 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01451/0.4065, allocations: 9.294 MB / 0.9927 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4066, allocations: 0 / 0.9927 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.847e-06/0.4066, allocations: 4 kB / 0.9927 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005246/0.4071, allocations: 0 / 0.9927 GB, free: 0.7969 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01665/0.4238, allocations: 6.256 MB / 0.9988 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.4238, allocations: 12.02 kB / 0.9988 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003109/0.4269, allocations: 0.7601 MB / 0.9995 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/0.4305, allocations: 0.7767 MB / 1 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.4446, allocations: 5.59 MB / 1.006 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004401/0.445, allocations: 423 kB / 1.006 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001917/0.447, allocations: 0.5428 MB / 1.007 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/0.4689, allocations: 7.875 MB / 1.014 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001868/0.4691, allocations: 11.94 kB / 1.014 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009563/0.4701, allocations: 236 kB / 1.015 GB, free: 9.957 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002092/0.4703, allocations: 167.9 kB / 1.015 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01819/0.4885, allocations: 6.52 MB / 1.021 GB, free: 3.262 MB / 0.6667 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.05374/0.5423, allocations: 30.79 MB / 1.051 GB, free: 2.691 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6327/1.175, allocations: 3.748 MB / 1.055 GB, free: 135.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/1.176, allocations: 0.8399 MB / 1.056 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.123e-05/1.176, allocations: 74.81 kB / 1.056 GB, free: 134.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=275): time 4.148e-06/1.176, allocations: 0 / 1.056 GB, free: 134.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=275): time 0.01258/1.189, allocations: 5.845 MB / 1.061 GB, free: 134.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/1.189, allocations: 84.33 kB / 1.062 GB, free: 134.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01559/1.205, allocations: 5.32 MB / 1.067 GB, free: 134.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001015/1.206, allocations: 76.33 kB / 1.067 GB, free: 134 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003692/1.209, allocations: 2.821 MB / 1.07 GB, free: 133.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002062/1.211, allocations: 0.9687 MB / 1.071 GB, free: 132.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/1.212, allocations: 73.44 kB / 1.071 GB, free: 132.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003325/1.212, allocations: 465.1 kB / 1.071 GB, free: 132.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003411/1.215, allocations: 1.716 MB / 1.073 GB, free: 132.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004382/1.22, allocations: 2.907 MB / 1.076 GB, free: 130.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/1.224, allocations: 2.314 MB / 1.078 GB, free: 129.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.846e-05/1.224, allocations: 12.28 kB / 1.078 GB, free: 129.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.0105/1.234, allocations: 5.495 MB / 1.083 GB, free: 127 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/1.235, allocations: 19.75 kB / 1.083 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-05/1.235, allocations: 44.38 kB / 1.083 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/1.236, allocations: 423.7 kB / 1.084 GB, free: 126.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003827/1.24, allocations: 0.8618 MB / 1.084 GB, free: 126.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005783/1.246, allocations: 5.333 MB / 1.09 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005864/1.251, allocations: 0.6755 MB / 1.09 GB, free: 122.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008135/1.252, allocations: 184.1 kB / 1.091 GB, free: 122.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (455): * Single equations (assignments): 453 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005618/1.258, allocations: 2.262 MB / 1.093 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001931/1.26, allocations: 478.4 kB / 1.093 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006685/1.267, allocations: 4.262 MB / 1.097 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/1.267, allocations: 26.28 kB / 1.097 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.267, allocations: 7.859 kB / 1.097 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004272/1.271, allocations: 3.709 MB / 1.101 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01879/1.29, allocations: 10.46 MB / 1.111 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.29, allocations: 8 kB / 1.111 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001999/1.292, allocations: 0.5156 MB / 1.112 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007792/1.293, allocations: 365.4 kB / 1.112 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/1.293, allocations: 83.95 kB / 1.112 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004427/1.297, allocations: 5.266 MB / 1.117 GB, free: 98.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.297, allocations: 15.95 kB / 1.117 GB, free: 98.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008977/1.306, allocations: 7.148 MB / 1.124 GB, free: 91.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003934/1.31, allocations: 1.228 MB / 1.125 GB, free: 90 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001446/1.312, allocations: 63.98 kB / 1.126 GB, free: 89.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004148/1.316, allocations: 357.9 kB / 1.126 GB, free: 89.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/1.316, allocations: 177.7 kB / 1.126 GB, free: 89.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002988/1.316, allocations: 123.9 kB / 1.126 GB, free: 89.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005986/1.322, allocations: 3.918 MB / 1.13 GB, free: 85.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.322, allocations: 0 / 1.13 GB, free: 85.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008199/1.331, allocations: 1.8 MB / 1.132 GB, free: 83.61 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01092/1.342, allocations: 9.096 MB / 1.141 GB, free: 74.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006697/1.348, allocations: 4.319 MB / 1.145 GB, free: 69.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/1.348, allocations: 8.062 kB / 1.145 GB, free: 69.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002709/1.351, allocations: 2.082 MB / 1.147 GB, free: 67.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01587/1.367, allocations: 3.242 MB / 1.15 GB, free: 64.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1379/1.505, allocations: 71.96 MB / 1.22 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005992/1.511, allocations: 4.394 MB / 1.225 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007686/1.519, allocations: 1.898 MB / 1.226 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005086/1.524, allocations: 2.397 MB / 1.229 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of SimCode: time 3.106e-06/1.524, allocations: 0 / 1.229 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7665/2.29, allocations: 160.3 MB / 1.385 GB, free: 266.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/2.291, allocations: 271.2 kB / 1.386 GB, free: 266.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.655/8.946, allocations: 0 / 1.386 GB, free: 266.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)