Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.254/2.254, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 183.5 kB / 499.1 MB, free: 4.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 0.7948 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 113.7 kB / 0.9329 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 51.8 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2947, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03764/0.3324, allocations: 48.98 MB / 1.266 GB, free: 68.16 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.3492, allocations: 13.84 MB / 1.279 GB, free: 54.29 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003098/0.3524, allocations: 59.62 kB / 1.279 GB, free: 54.23 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.3544, allocations: 0.6564 MB / 1.28 GB, free: 53.57 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.005748/0.3602, allocations: 2.08 MB / 1.282 GB, free: 51.48 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.3632, allocations: 1.198 MB / 1.283 GB, free: 50.29 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01821/0.3814, allocations: 25.73 MB / 1.308 GB, free: 24.49 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008723/0.3901, allocations: 8.087 MB / 1.316 GB, free: 16.28 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009333/0.3995, allocations: 5.047 MB / 1.321 GB, free: 11.21 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009078/0.4086, allocations: 5.59 MB / 1.327 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.41, allocations: 428 kB / 1.327 GB, free: 5.184 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004755/0.4148, allocations: 1.104 MB / 1.328 GB, free: 4.078 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.4162, allocations: 1.619 MB / 1.33 GB, free: 2.453 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.005892/0.4221, allocations: 3.752 MB / 1.333 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.4351, allocations: 11.57 MB / 1.345 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.4351, allocations: 0 / 1.345 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4351, allocations: 0 / 1.345 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003717/0.4355, allocations: 0 / 1.345 GB, free: 3.086 MB / 0.8386 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.01758/0.4531, allocations: 7.71 MB / 1.352 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.4532, allocations: 15.92 kB / 1.352 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.4558, allocations: 0.7813 MB / 1.353 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01264/0.4684, allocations: 6.255 MB / 1.359 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/0.4689, allocations: 411.4 kB / 1.36 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001779/0.4707, allocations: 0.5428 MB / 1.36 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/0.4888, allocations: 8.076 MB / 1.368 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000204/0.489, allocations: 15.88 kB / 1.368 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001244/0.4903, allocations: 236 kB / 1.368 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/0.4905, allocations: 167.9 kB / 1.368 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.5034, allocations: 6.52 MB / 1.375 GB, free: 3.973 MB / 0.8698 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.04791/0.5514, allocations: 31.12 MB / 1.405 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005765/0.5572, allocations: 3.652 MB / 1.409 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004065/0.5612, allocations: 2.808 MB / 1.411 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009995/0.5623, allocations: 0.8318 MB / 1.412 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.678e-05/0.5624, allocations: 72.67 kB / 1.412 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=267): time 5.089e-06/0.5624, allocations: 0 / 1.412 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of matching and sorting (n=267): time 0.01146/0.5739, allocations: 5.766 MB / 1.418 GB, free: 5.602 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.5739, allocations: 81.52 kB / 1.418 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/0.5844, allocations: 5.028 MB / 1.423 GB, free: 492 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004694/0.5849, allocations: 77.7 kB / 1.423 GB, free: 408 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.5837/1.169, allocations: 2.865 MB / 1.426 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001358/1.17, allocations: 0.9322 MB / 1.427 GB, free: 186.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/1.171, allocations: 0.7137 MB / 1.427 GB, free: 186.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.238e-05/1.171, allocations: 304.9 kB / 1.428 GB, free: 185.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/1.174, allocations: 1.679 MB / 1.429 GB, free: 185.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003012/1.177, allocations: 2.935 MB / 1.432 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005987/1.183, allocations: 4.963 MB / 1.437 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.248e-05/1.183, allocations: 11.56 kB / 1.437 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009665/1.193, allocations: 5.442 MB / 1.442 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/1.193, allocations: 22.45 kB / 1.442 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.905e-05/1.193, allocations: 39.25 kB / 1.442 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/1.194, allocations: 423.2 kB / 1.443 GB, free: 178 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/1.197, allocations: 0.857 MB / 1.444 GB, free: 178 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005151/1.202, allocations: 5.268 MB / 1.449 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004904/1.207, allocations: 0.6442 MB / 1.449 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004239/1.207, allocations: 178.1 kB / 1.45 GB, free: 173.8 MB / 0.9167 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 (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.003834/1.211, allocations: 2.29 MB / 1.452 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.212, allocations: 487.3 kB / 1.452 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006875/1.219, allocations: 4.182 MB / 1.456 GB, free: 171 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.338e-05/1.219, allocations: 25.72 kB / 1.456 GB, free: 171 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/1.219, allocations: 4.594 kB / 1.456 GB, free: 171 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005377/1.225, allocations: 3.631 MB / 1.46 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/1.241, allocations: 10.21 MB / 1.47 GB, free: 164.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.241, allocations: 4.562 kB / 1.47 GB, free: 164.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.242, allocations: 0.4993 MB / 1.47 GB, free: 163.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006932/1.243, allocations: 373 kB / 1.471 GB, free: 163.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/1.243, allocations: 80.47 kB / 1.471 GB, free: 163.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003845/1.247, allocations: 5.203 MB / 1.476 GB, free: 157.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.247, allocations: 11.84 kB / 1.476 GB, free: 157.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05172/1.299, allocations: 35.3 MB / 1.51 GB, free: 121.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/1.301, allocations: 1.08 MB / 1.512 GB, free: 120.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005364/1.302, allocations: 63.98 kB / 1.512 GB, free: 120.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00258/1.304, allocations: 327 kB / 1.512 GB, free: 120.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/1.305, allocations: 177.6 kB / 1.512 GB, free: 120.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/1.305, allocations: 123.9 kB / 1.512 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004315/1.309, allocations: 3.691 MB / 1.516 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/1.309, allocations: 0 / 1.516 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.009513/1.319, allocations: 2.604 MB / 1.518 GB, free: 113.9 MB / 0.9167 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 (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.001265/1.32, allocations: 483.5 kB / 1.519 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005719/1.326, allocations: 4.258 MB / 1.523 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.326, allocations: 4 kB / 1.523 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002295/1.328, allocations: 2.045 MB / 1.525 GB, free: 107.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02131/1.349, allocations: 3.279 MB / 1.528 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/1.376, allocations: 17.11 MB / 1.545 GB, free: 86.68 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004775/1.38, allocations: 4.371 MB / 1.549 GB, free: 82.28 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006518/1.387, allocations: 1.903 MB / 1.551 GB, free: 80.39 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/1.389, allocations: 443.2 kB / 1.551 GB, free: 79.96 MB / 0.9167 GB Notification: Performance of SimCode: time 9.72e-07/1.389, allocations: 0 / 1.551 GB, free: 79.96 MB / 0.9167 GB Notification: Performance of Templates: time 0.1753/1.564, allocations: 122.8 MB / 1.671 GB, free: 5.953 MB / 0.9636 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)