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: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 252 MB / 267.6 MB, free: 10.89 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.001126/0.001126, allocations: 182.6 kB / 327.3 MB, free: 2.168 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.775/1.775, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0008216/0.0008214, allocations: 85.44 kB / 0.6829 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 10.81 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2544, allocations: 106.3 MB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0335/0.288, allocations: 45.35 MB / 0.9451 GB, free: 18.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.3027, allocations: 12.85 MB / 0.9577 GB, free: 5.477 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.3052, allocations: 55.62 kB / 0.9577 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.307, allocations: 0.5705 MB / 0.9583 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005399/0.3124, allocations: 1.776 MB / 0.96 GB, free: 3.062 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.3153, allocations: 0.898 MB / 0.9609 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0203/0.3356, allocations: 21.63 MB / 0.982 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01085/0.3465, allocations: 6.503 MB / 0.9884 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01112/0.3576, allocations: 4.763 MB / 0.993 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01133/0.369, allocations: 4.94 MB / 0.9978 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002199/0.3713, allocations: 304 kB / 0.9981 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006467/0.3778, allocations: 0.7411 MB / 0.9988 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002665/0.3804, allocations: 1.35 MB / 1 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004744/0.3852, allocations: 1.463 MB / 1.002 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.3971, allocations: 9.348 MB / 1.011 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.3971, allocations: 0 / 1.011 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.966e-06/0.3971, allocations: 0 / 1.011 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004173/0.3976, allocations: 4 kB / 1.011 GB, free: 14.92 MB / 0.6667 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.01483/0.4124, allocations: 6.26 MB / 1.017 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.4125, allocations: 8.031 kB / 1.017 GB, free: 8.574 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004132/0.4166, allocations: 0.7728 MB / 1.018 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.4287, allocations: 6.018 MB / 1.023 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003521/0.4291, allocations: 423 kB / 1.024 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/0.4305, allocations: 0.5429 MB / 1.024 GB, free: 0.7539 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/0.4472, allocations: 7.922 MB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.4474, allocations: 15.84 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006379/0.448, allocations: 232 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.4482, allocations: 171.9 kB / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.4617, allocations: 6.513 MB / 1.039 GB, free: 1.684 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.5311/0.9928, allocations: 30.52 MB / 1.069 GB, free: 125.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/1.006, allocations: 3.748 MB / 1.072 GB, free: 125.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009154/1.016, allocations: 2.903 MB / 1.075 GB, free: 125.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/1.017, allocations: 0.8424 MB / 1.076 GB, free: 124.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.385e-05/1.017, allocations: 64.84 kB / 1.076 GB, free: 124.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=275): time 1.4e-05/1.017, allocations: 0 / 1.076 GB, free: 124.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=275): time 0.02196/1.039, allocations: 5.819 MB / 1.082 GB, free: 124.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/1.039, allocations: 80.67 kB / 1.082 GB, free: 124.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/1.053, allocations: 4.898 MB / 1.087 GB, free: 122.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009495/1.054, allocations: 79.27 kB / 1.087 GB, free: 122.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004262/1.059, allocations: 2.832 MB / 1.089 GB, free: 120.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002369/1.061, allocations: 0.9597 MB / 1.09 GB, free: 119.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007726/1.062, allocations: 78.81 kB / 1.09 GB, free: 119.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004941/1.062, allocations: 463.8 kB / 1.091 GB, free: 119.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00578/1.068, allocations: 1.687 MB / 1.093 GB, free: 118.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005798/1.074, allocations: 2.904 MB / 1.095 GB, free: 115.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006065/1.08, allocations: 2.292 MB / 1.098 GB, free: 114.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-05/1.08, allocations: 11.09 kB / 1.098 GB, free: 114.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01655/1.097, allocations: 5.462 MB / 1.103 GB, free: 111.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.882e-05/1.097, allocations: 20.59 kB / 1.103 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.797e-05/1.097, allocations: 38.97 kB / 1.103 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/1.099, allocations: 422.7 kB / 1.103 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006501/1.105, allocations: 0.8672 MB / 1.104 GB, free: 111.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007229/1.113, allocations: 5.262 MB / 1.109 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009735/1.122, allocations: 0.6381 MB / 1.11 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001239/1.124, allocations: 184 kB / 1.11 GB, free: 106.2 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.008282/1.132, allocations: 2.261 MB / 1.112 GB, free: 103.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002779/1.135, allocations: 480.8 kB / 1.113 GB, free: 103.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.148, allocations: 4.22 MB / 1.117 GB, free: 99.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.594e-05/1.148, allocations: 32 kB / 1.117 GB, free: 99.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-05/1.149, allocations: 5.625 kB / 1.117 GB, free: 99.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009458/1.158, allocations: 3.665 MB / 1.121 GB, free: 95.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03474/1.193, allocations: 10.53 MB / 1.131 GB, free: 84.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/1.193, allocations: 10.06 kB / 1.131 GB, free: 84.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003474/1.196, allocations: 0.5071 MB / 1.131 GB, free: 84.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/1.198, allocations: 380.2 kB / 1.132 GB, free: 83.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004587/1.198, allocations: 79.97 kB / 1.132 GB, free: 83.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007441/1.206, allocations: 5.19 MB / 1.137 GB, free: 78.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/1.206, allocations: 11.94 kB / 1.137 GB, free: 78.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.222, allocations: 6.328 MB / 1.143 GB, free: 71.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005053/1.227, allocations: 1.15 MB / 1.144 GB, free: 70.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002727/1.23, allocations: 67.97 kB / 1.144 GB, free: 70.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007856/1.238, allocations: 329.6 kB / 1.145 GB, free: 70.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007713/1.239, allocations: 182.4 kB / 1.145 GB, free: 69.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006674/1.239, allocations: 115.9 kB / 1.145 GB, free: 69.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01049/1.25, allocations: 3.59 MB / 1.148 GB, free: 66.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.92e-07/1.25, allocations: 0 / 1.148 GB, free: 66.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00931/1.259, allocations: 1.78 MB / 1.15 GB, free: 64.54 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.001696/1.261, allocations: 469.4 kB / 1.151 GB, free: 64.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007599/1.269, allocations: 4.286 MB / 1.155 GB, free: 59.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.269, allocations: 5.938 kB / 1.155 GB, free: 59.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003271/1.272, allocations: 2.059 MB / 1.157 GB, free: 57.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01772/1.29, allocations: 3.292 MB / 1.16 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02471/1.314, allocations: 14.91 MB / 1.175 GB, free: 39.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004661/1.319, allocations: 4.214 MB / 1.179 GB, free: 35.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002072/1.321, allocations: 435.3 kB / 1.179 GB, free: 34.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.372e-06/1.321, allocations: 0 / 1.179 GB, free: 34.79 MB / 0.698 GB Notification: Performance of Templates: time 0.244/1.565, allocations: 170.1 MB / 1.345 GB, free: 8.703 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)