Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.826/2.826, allocations: 287.3 MB / 302.3 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 182.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 94 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004991, allocations: 13.39 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2346, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05976/0.2944, allocations: 41.21 MB / 1.019 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02673/0.3212, allocations: 11.91 MB / 1.03 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.3242, allocations: 55.62 kB / 1.03 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004115/0.3284, allocations: 0.7423 MB / 1.031 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009517/0.3379, allocations: 1.952 MB / 1.033 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006818/0.3448, allocations: 1.427 MB / 1.034 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0225/0.3674, allocations: 10.45 MB / 1.044 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01487/0.3823, allocations: 6.527 MB / 1.051 GB, free: 1.801 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01178/0.3941, allocations: 3.998 MB / 1.055 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009456/0.4037, allocations: 3.43 MB / 1.058 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002339/0.4061, allocations: 304 kB / 1.058 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006759/0.4129, allocations: 0.7923 MB / 1.059 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003679/0.4166, allocations: 1.304 MB / 1.06 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004166/0.4208, allocations: 1.471 MB / 1.062 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.7105/1.131, allocations: 9.364 MB / 1.071 GB, free: 22.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.131, allocations: 0 / 1.071 GB, free: 22.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.357e-06/1.131, allocations: 3.484 kB / 1.071 GB, free: 22.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005019/1.132, allocations: 0 / 1.071 GB, free: 22.94 MB / 0.6823 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.02544/1.157, allocations: 6.25 MB / 1.077 GB, free: 20.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/1.157, allocations: 9.438 kB / 1.077 GB, free: 20.43 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004622/1.162, allocations: 0.7628 MB / 1.078 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006714/1.169, allocations: 0.7787 MB / 1.079 GB, free: 19.99 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0216/1.191, allocations: 5.554 MB / 1.084 GB, free: 19.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008098/1.191, allocations: 416.3 kB / 1.084 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003519/1.195, allocations: 0.5428 MB / 1.085 GB, free: 19.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03469/1.23, allocations: 7.974 MB / 1.093 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005076/1.23, allocations: 20.92 kB / 1.093 GB, free: 18.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003045/1.233, allocations: 236.6 kB / 1.093 GB, free: 18.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003254/1.234, allocations: 165 kB / 1.093 GB, free: 18.47 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/1.259, allocations: 6.488 MB / 1.099 GB, free: 18.42 MB / 0.6823 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.07239/1.331, allocations: 31.38 MB / 1.13 GB, free: 18.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/1.342, allocations: 3.629 MB / 1.134 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00168/1.343, allocations: 0.8351 MB / 1.134 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/1.344, allocations: 76.66 kB / 1.135 GB, free: 16.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 6.522e-06/1.344, allocations: 0 / 1.135 GB, free: 16.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.02218/1.366, allocations: 5.787 MB / 1.14 GB, free: 15.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/1.366, allocations: 78.36 kB / 1.14 GB, free: 15.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/1.379, allocations: 5.318 MB / 1.145 GB, free: 12.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001136/1.38, allocations: 77.52 kB / 1.146 GB, free: 12.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004017/1.384, allocations: 2.847 MB / 1.148 GB, free: 10.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002402/1.387, allocations: 0.933 MB / 1.149 GB, free: 9.363 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004351/1.387, allocations: 74.5 kB / 1.149 GB, free: 9.305 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004203/1.388, allocations: 458.9 kB / 1.15 GB, free: 8.895 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005284/1.393, allocations: 1.685 MB / 1.151 GB, free: 8.016 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01108/1.404, allocations: 2.929 MB / 1.154 GB, free: 5.512 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008159/1.412, allocations: 2.282 MB / 1.156 GB, free: 4.305 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.575e-05/1.412, allocations: 15.44 kB / 1.156 GB, free: 4.301 MB / 0.698 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01791/1.43, allocations: 5.442 MB / 1.162 GB, free: 1.707 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/1.43, allocations: 24.8 kB / 1.162 GB, free: 1.703 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.681e-05/1.43, allocations: 42.08 kB / 1.162 GB, free: 1.703 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/1.432, allocations: 430 kB / 1.162 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006896/1.439, allocations: 0.8469 MB / 1.163 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009916/1.449, allocations: 5.344 MB / 1.168 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00921/1.458, allocations: 0.6742 MB / 1.169 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.459, allocations: 186.3 kB / 1.169 GB, free: 10.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * 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 (447): * Single equations (assignments): 445 * 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.00685/1.466, allocations: 2.258 MB / 1.171 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002124/1.468, allocations: 482.1 kB / 1.172 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/1.482, allocations: 4.204 MB / 1.176 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.601e-05/1.482, allocations: 26.73 kB / 1.176 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.482, allocations: 4 kB / 1.176 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01041/1.492, allocations: 3.673 MB / 1.18 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03279/1.525, allocations: 10.1 MB / 1.189 GB, free: 5.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/1.525, allocations: 4 kB / 1.189 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004849/1.53, allocations: 0.4978 MB / 1.19 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/1.532, allocations: 374.9 kB / 1.19 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00064/1.532, allocations: 75.95 kB / 1.19 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009199/1.541, allocations: 5.266 MB / 1.195 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/1.542, allocations: 10.91 kB / 1.195 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/1.56, allocations: 6.892 MB / 1.202 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005594/1.566, allocations: 1.244 MB / 1.203 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002143/1.568, allocations: 59.98 kB / 1.203 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007754/1.576, allocations: 345.9 kB / 1.204 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009256/1.577, allocations: 168.5 kB / 1.204 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006113/1.578, allocations: 131.9 kB / 1.204 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.01082/1.588, allocations: 3.918 MB / 1.208 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.51e-07/1.589, allocations: 0 / 1.208 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00967/1.598, allocations: 1.804 MB / 1.21 GB, free: 256 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (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,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 (242): * Single equations (assignments): 237 * 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.0215/1.62, allocations: 8.659 MB / 1.218 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01499/1.635, allocations: 4.28 MB / 1.222 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.192e-05/1.635, allocations: 5.875 kB / 1.222 GB, free: 3.23 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.009856/1.645, allocations: 2.059 MB / 1.224 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02743/1.672, allocations: 3.236 MB / 1.228 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2078/1.88, allocations: 72.7 MB / 1.299 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008747/1.889, allocations: 4.386 MB / 1.303 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01154/1.901, allocations: 1.96 MB / 1.305 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007276/1.908, allocations: 2.414 MB / 1.307 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of SimCode: time 1.493e-06/1.908, allocations: 0 / 1.307 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.058/2.966, allocations: 160.5 MB / 1.464 GB, free: 336 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003449/2.966, allocations: 259.4 kB / 1.464 GB, free: 335.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/11.19, allocations: 2.5 kB / 1.464 GB, free: 335.6 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)