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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009109/0.009109, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001544/0.001544, allocations: 198.5 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 251.7 MB / 0.5094 GB, free: 3.055 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 67.91 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2768, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05089/0.3277, allocations: 49.31 MB / 0.8762 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02033/0.3481, allocations: 13.72 MB / 0.8896 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003529/0.3517, allocations: 67.62 kB / 0.8896 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003692/0.3555, allocations: 0.8188 MB / 0.8904 GB, free: 68 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.008904/0.3644, allocations: 2.328 MB / 0.8927 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004221/0.3686, allocations: 1.272 MB / 0.894 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.6452/1.014, allocations: 19.47 MB / 0.913 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01885/1.033, allocations: 9.885 MB / 0.9226 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01792/1.051, allocations: 6.566 MB / 0.929 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01425/1.065, allocations: 5.768 MB / 0.9347 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004384/1.069, allocations: 0.8367 MB / 0.9355 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/1.08, allocations: 1.601 MB / 0.9371 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.006149/1.086, allocations: 2.092 MB / 0.9391 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01524/1.101, allocations: 4.247 MB / 0.9432 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02411/1.125, allocations: 11.93 MB / 0.9549 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.125, allocations: 4 kB / 0.9549 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.266e-06/1.125, allocations: 3.094 kB / 0.9549 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005983/1.126, allocations: 0 / 0.9549 GB, free: 0.8828 MB / 0.7169 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.0301/1.156, allocations: 7.654 MB / 0.9624 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.156, allocations: 8.844 kB / 0.9624 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005903/1.162, allocations: 0.7786 MB / 0.9631 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/1.178, allocations: 6.209 MB / 0.9692 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005493/1.179, allocations: 414.9 kB / 0.9696 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002967/1.182, allocations: 0.5464 MB / 0.9701 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02626/1.208, allocations: 7.976 MB / 0.9779 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003539/1.209, allocations: 10.94 kB / 0.9779 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002373/1.211, allocations: 236 kB / 0.9782 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002192/1.211, allocations: 165.9 kB / 0.9783 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0176/1.229, allocations: 6.561 MB / 0.9847 GB, free: 12.55 MB / 0.7481 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.0596/1.289, allocations: 30.55 MB / 1.015 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007734/1.296, allocations: 3.763 MB / 1.018 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004691/1.301, allocations: 2.816 MB / 1.021 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.302, allocations: 0.8291 MB / 1.022 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.75e-05/1.302, allocations: 77 kB / 1.022 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=275): time 4.779e-06/1.302, allocations: 0 / 1.022 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of matching and sorting (n=275): time 0.01543/1.318, allocations: 5.827 MB / 1.028 GB, free: 15.27 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/1.318, allocations: 89.52 kB / 1.028 GB, free: 15.16 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01368/1.332, allocations: 5.14 MB / 1.033 GB, free: 10.03 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0008791/1.333, allocations: 85.17 kB / 1.033 GB, free: 9.941 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002723/1.335, allocations: 2.825 MB / 1.036 GB, free: 7.102 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001849/1.337, allocations: 0.9632 MB / 1.036 GB, free: 6.145 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/1.338, allocations: 0.7193 MB / 1.037 GB, free: 5.418 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.339, allocations: 305.1 kB / 1.037 GB, free: 5.117 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002762/1.341, allocations: 1.705 MB / 1.039 GB, free: 3.41 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00351/1.345, allocations: 2.923 MB / 1.042 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006628/1.351, allocations: 4.963 MB / 1.047 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-05/1.352, allocations: 8 kB / 1.047 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01097/1.362, allocations: 5.484 MB / 1.052 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/1.363, allocations: 20 kB / 1.052 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-05/1.363, allocations: 40 kB / 1.052 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/1.364, allocations: 413.9 kB / 1.053 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/1.367, allocations: 0.8703 MB / 1.053 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006209/1.373, allocations: 5.709 MB / 1.059 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005501/1.379, allocations: 0.5184 MB / 1.06 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000694/1.379, allocations: 176 kB / 1.06 GB, free: 13.39 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005504/1.385, allocations: 2.262 MB / 1.062 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002203/1.387, allocations: 482.2 kB / 1.062 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009038/1.396, allocations: 4.238 MB / 1.067 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-05/1.396, allocations: 32 kB / 1.067 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/1.396, allocations: 7.938 kB / 1.067 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005838/1.402, allocations: 3.682 MB / 1.07 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02758/1.43, allocations: 10.57 MB / 1.08 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.43, allocations: 4 kB / 1.08 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002394/1.432, allocations: 0.5195 MB / 1.081 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009612/1.433, allocations: 373.5 kB / 1.081 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003983/1.434, allocations: 83.95 kB / 1.081 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005922/1.44, allocations: 5.627 MB / 1.087 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/1.44, allocations: 10.62 kB / 1.087 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/1.451, allocations: 6.356 MB / 1.093 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003901/1.455, allocations: 1.084 MB / 1.094 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001984/1.457, allocations: 67.98 kB / 1.094 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004107/1.461, allocations: 171.6 kB / 1.094 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/1.462, allocations: 194.9 kB / 1.095 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003964/1.462, allocations: 115.9 kB / 1.095 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.009024/1.471, allocations: 3.778 MB / 1.098 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.3e-07/1.471, allocations: 0 / 1.098 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.008872/1.48, allocations: 1.804 MB / 1.1 GB, free: 3.355 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001937/1.482, allocations: 495.3 kB / 1.101 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008984/1.491, allocations: 4.336 MB / 1.105 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/1.491, allocations: 4 kB / 1.105 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003932/1.495, allocations: 2.072 MB / 1.107 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01984/1.515, allocations: 3.452 MB / 1.11 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03094/1.546, allocations: 12.66 MB / 1.123 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008443/1.554, allocations: 4.29 MB / 1.127 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.008417/1.563, allocations: 1.829 MB / 1.129 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002403/1.565, allocations: 417.9 kB / 1.129 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of SimCode: time 1.413e-06/1.565, allocations: 0 / 1.129 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of Templates: time 0.2011/1.766, allocations: 112.7 MB / 1.239 GB, free: 6.562 MB / 0.9981 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)