Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 197.2 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.97/2.97, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 62.78 kB / 0.912 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3656, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05335/0.419, allocations: 56.02 MB / 1.123 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0258/0.4448, allocations: 17.95 MB / 1.14 GB, free: 292 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003665/0.4485, allocations: 75.62 kB / 1.14 GB, free: 216 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.4518, allocations: 0.8923 MB / 1.141 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008217/0.46, allocations: 2.518 MB / 1.144 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0046/0.4647, allocations: 1.516 MB / 1.145 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02233/0.487, allocations: 21.25 MB / 1.166 GB, free: 5.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01388/0.5009, allocations: 10.67 MB / 1.176 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01496/0.5159, allocations: 7.128 MB / 1.183 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01167/0.5276, allocations: 6.366 MB / 1.19 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.003387/0.531, allocations: 0.9336 MB / 1.191 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007419/0.5385, allocations: 1.694 MB / 1.192 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.004217/0.5427, allocations: 2.345 MB / 1.194 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.01149/0.5542, allocations: 4.707 MB / 1.199 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0192/0.5734, allocations: 13.03 MB / 1.212 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.5735, allocations: 4 kB / 1.212 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5735, allocations: 0 / 1.212 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000478/0.574, allocations: 0 / 1.212 GB, free: 6.898 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02522/0.5992, allocations: 8.518 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.5993, allocations: 8.031 kB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/0.6042, allocations: 0.8625 MB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/0.6191, allocations: 6.419 MB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005047/0.6197, allocations: 460.4 kB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003263/0.6229, allocations: 0.6014 MB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03164/0.6546, allocations: 9.028 MB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003691/0.655, allocations: 19.78 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00272/0.6578, allocations: 264 kB / 1.237 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003364/0.6581, allocations: 183.8 kB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.6786, allocations: 7.445 MB / 1.245 GB, free: 4.609 MB / 0.9981 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 1.351/2.029, allocations: 36.25 MB / 1.28 GB, free: 145.6 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00791/2.037, allocations: 4.283 MB / 1.284 GB, free: 144 MB / 0.9982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005573/2.043, allocations: 3.312 MB / 1.288 GB, free: 142.9 MB / 0.9982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/2.044, allocations: 0.9569 MB / 1.289 GB, free: 141.9 MB / 0.9982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004478/2.049, allocations: 2.381 MB / 1.291 GB, free: 141.1 MB / 0.9982 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00315/2.052, allocations: 369 kB / 1.291 GB, free: 140.9 MB / 0.9982 GB Notification: Performance of pre-optimization done (n=317): time 1.271e-05/2.052, allocations: 0 / 1.291 GB, free: 140.9 MB / 0.9982 GB Notification: Performance of matching and sorting (n=317): time 0.01365/2.066, allocations: 7.146 MB / 1.298 GB, free: 138.2 MB / 0.9982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/2.066, allocations: 84.53 kB / 1.298 GB, free: 138.2 MB / 0.9982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009502/2.075, allocations: 5.668 MB / 1.304 GB, free: 135.3 MB / 0.9982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008134/2.076, allocations: 87.02 kB / 1.304 GB, free: 135.2 MB / 0.9982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002704/2.079, allocations: 3.194 MB / 1.307 GB, free: 132.5 MB / 0.9982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001414/2.08, allocations: 1.114 MB / 1.308 GB, free: 131.5 MB / 0.9982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/2.081, allocations: 0.856 MB / 1.309 GB, free: 131 MB / 0.9982 GB Notification: Performance of setup shared object (initialization): time 4.263e-05/2.081, allocations: 301.1 kB / 1.309 GB, free: 130.7 MB / 0.9982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002973/2.084, allocations: 2.165 MB / 1.311 GB, free: 129.6 MB / 0.9982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003539/2.088, allocations: 3.701 MB / 1.315 GB, free: 126.4 MB / 0.9982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007235/2.095, allocations: 6.317 MB / 1.321 GB, free: 121.8 MB / 0.9982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-05/2.095, allocations: 15.56 kB / 1.321 GB, free: 121.8 MB / 0.9982 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0107/2.106, allocations: 6.785 MB / 1.328 GB, free: 118.2 MB / 0.9982 GB Notification: Performance of prepare postOptimizeDAE: time 7.101e-05/2.106, allocations: 53.7 kB / 1.328 GB, free: 118.2 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.724e-05/2.106, allocations: 48 kB / 1.328 GB, free: 118.1 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009458/2.107, allocations: 434.5 kB / 1.328 GB, free: 117.7 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/2.11, allocations: 1.01 MB / 1.329 GB, free: 116.7 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004506/2.115, allocations: 5.706 MB / 1.335 GB, free: 110.7 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/2.12, allocations: 286.6 kB / 1.335 GB, free: 110.4 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006602/2.121, allocations: 220.7 kB / 1.335 GB, free: 110.2 MB / 0.9982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.004723/2.126, allocations: 2.487 MB / 1.338 GB, free: 107.7 MB / 0.9982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001916/2.128, allocations: 0.5248 MB / 1.338 GB, free: 107.2 MB / 0.9982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007551/2.135, allocations: 5.262 MB / 1.343 GB, free: 101.9 MB / 0.9982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/2.135, allocations: 32 kB / 1.343 GB, free: 101.9 MB / 0.9982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/2.135, allocations: 11.94 kB / 1.343 GB, free: 101.8 MB / 0.9982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005068/2.14, allocations: 4.529 MB / 1.348 GB, free: 97.21 MB / 0.9982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01848/2.159, allocations: 12.04 MB / 1.36 GB, free: 85.07 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/2.159, allocations: 4 kB / 1.36 GB, free: 85.06 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/2.161, allocations: 0.6399 MB / 1.36 GB, free: 84.42 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007132/2.162, allocations: 375.1 kB / 1.361 GB, free: 84.05 MB / 0.9982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002025/2.162, allocations: 91.94 kB / 1.361 GB, free: 83.96 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004228/2.167, allocations: 5.611 MB / 1.366 GB, free: 78.08 MB / 0.9982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/2.167, allocations: 4 kB / 1.366 GB, free: 78.08 MB / 0.9982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/2.177, allocations: 7.771 MB / 1.374 GB, free: 70.22 MB / 0.9982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003898/2.181, allocations: 1.158 MB / 1.375 GB, free: 69.04 MB / 0.9982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/2.182, allocations: 67.98 kB / 1.375 GB, free: 68.97 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002881/2.185, allocations: 183.1 kB / 1.375 GB, free: 68.79 MB / 0.9982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004562/2.185, allocations: 210.2 kB / 1.375 GB, free: 68.59 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002748/2.186, allocations: 139.9 kB / 1.375 GB, free: 68.45 MB / 0.9982 GB Notification: Performance of sorting global known variables: time 0.005302/2.191, allocations: 3.959 MB / 1.379 GB, free: 64.51 MB / 0.9982 GB Notification: Performance of sort global known variables: time 3.1e-07/2.191, allocations: 0 / 1.379 GB, free: 64.51 MB / 0.9982 GB Notification: Performance of remove unused functions: time 0.007062/2.198, allocations: 2.005 MB / 1.381 GB, free: 62.52 MB / 0.9982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.001365/2.199, allocations: 0.5056 MB / 1.382 GB, free: 62.03 MB / 0.9982 GB Notification: Performance of simCode: created initialization part: time 0.01835/2.218, allocations: 11.63 MB / 1.393 GB, free: 50.39 MB / 0.9982 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/2.218, allocations: 4 kB / 1.393 GB, free: 50.38 MB / 0.9982 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/2.221, allocations: 2.542 MB / 1.396 GB, free: 47.81 MB / 0.9982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01636/2.237, allocations: 3.387 MB / 1.399 GB, free: 44.55 MB / 0.9982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/2.26, allocations: 14.03 MB / 1.413 GB, free: 30.49 MB / 0.9982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003867/2.264, allocations: 4.632 MB / 1.417 GB, free: 25.82 MB / 0.9982 GB Notification: Performance of simCode: alias equations: time 0.006692/2.271, allocations: 2.085 MB / 1.419 GB, free: 23.74 MB / 0.9982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/2.273, allocations: 467.2 kB / 1.42 GB, free: 23.28 MB / 0.9982 GB Notification: Performance of SimCode: time 8.92e-07/2.273, allocations: 4 kB / 1.42 GB, free: 23.28 MB / 0.9982 GB Notification: Performance of Templates: time 0.2165/2.489, allocations: 122 MB / 1.539 GB, free: 14.32 MB / 1.108 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)