Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.117/2.117, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001605, allocations: 191.2 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.293/2.293, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 96.42 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.000478, allocations: 11.56 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2224, allocations: 106.2 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.426, allocations: 399.5 MB / 1.289 GB, free: 2.746 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.427, allocations: 91.58 kB / 1.289 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 11.19/12.61, allocations: 2.134 GB / 3.423 GB, free: 24.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.815e-06/12.62, allocations: 0 / 3.423 GB, free: 24.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001126/12.62, allocations: 191.8 kB / 3.423 GB, free: 24.61 MB / 0.9011 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.03132/12.65, allocations: 7.221 MB / 3.43 GB, free: 17.29 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/12.65, allocations: 12.03 kB / 3.43 GB, free: 17.28 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006002/12.65, allocations: 0.8345 MB / 3.431 GB, free: 16.44 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02556/12.68, allocations: 7.722 MB / 3.438 GB, free: 8.648 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006047/12.68, allocations: 468.2 kB / 3.439 GB, free: 8.188 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002878/12.68, allocations: 0.6014 MB / 3.439 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.507/14.19, allocations: 8.333 MB / 3.447 GB, free: 108.4 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000442/14.19, allocations: 23.22 kB / 3.447 GB, free: 108.4 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002669/14.19, allocations: 256.7 kB / 3.448 GB, free: 108.4 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003063/14.19, allocations: 182.9 kB / 3.448 GB, free: 108.4 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0271/14.22, allocations: 6.932 MB / 3.455 GB, free: 108.3 MB / 0.9012 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.08012/14.3, allocations: 33.36 MB / 3.487 GB, free: 95.08 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/14.31, allocations: 4.388 MB / 3.492 GB, free: 95.03 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001884/14.31, allocations: 0.9595 MB / 3.492 GB, free: 94.09 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007501/14.32, allocations: 2.345 MB / 3.495 GB, free: 93.98 MB / 0.9012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00526/14.33, allocations: 487.8 kB / 3.495 GB, free: 93.86 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=329): time 1.938e-05/14.33, allocations: 2.375 kB / 3.495 GB, free: 93.86 MB / 0.9012 GB Notification: Performance of matching and sorting (n=329): time 0.0262/14.35, allocations: 7.139 MB / 3.502 GB, free: 93.23 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/14.35, allocations: 90.2 kB / 3.502 GB, free: 93.16 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01465/14.37, allocations: 5.176 MB / 3.507 GB, free: 92.85 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.001078/14.37, allocations: 86.98 kB / 3.507 GB, free: 92.82 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.005063/14.37, allocations: 3.12 MB / 3.51 GB, free: 91.93 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002443/14.38, allocations: 1.158 MB / 3.512 GB, free: 91.35 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007824/14.38, allocations: 90.12 kB / 3.512 GB, free: 91.35 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0005184/14.38, allocations: 495.7 kB / 3.512 GB, free: 91.04 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006971/14.39, allocations: 2.146 MB / 3.514 GB, free: 91.02 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007878/14.39, allocations: 3.641 MB / 3.518 GB, free: 89.25 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008388/14.4, allocations: 2.904 MB / 3.521 GB, free: 89.18 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.742e-05/14.4, allocations: 13.22 kB / 3.521 GB, free: 89.18 MB / 0.9012 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01944/14.42, allocations: 6.725 MB / 3.527 GB, free: 88.73 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 8.489e-05/14.42, allocations: 54.8 kB / 3.527 GB, free: 88.7 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.213e-05/14.42, allocations: 45.5 kB / 3.527 GB, free: 88.7 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/14.42, allocations: 437.8 kB / 3.528 GB, free: 88.69 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007606/14.43, allocations: 1.035 MB / 3.529 GB, free: 88.69 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007765/14.44, allocations: 5.416 MB / 3.534 GB, free: 85.99 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008849/14.45, allocations: 471.3 kB / 3.534 GB, free: 85.96 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008938/14.45, allocations: 220.3 kB / 3.535 GB, free: 85.96 MB / 0.9012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (548): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 1 * 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.007039/14.46, allocations: 2.453 MB / 3.537 GB, free: 85.84 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002155/14.46, allocations: 0.5223 MB / 3.538 GB, free: 85.57 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/14.47, allocations: 5.295 MB / 3.543 GB, free: 85.34 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.507e-05/14.47, allocations: 37.2 kB / 3.543 GB, free: 85.34 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/14.47, allocations: 2.906 kB / 3.543 GB, free: 85.34 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04142/14.52, allocations: 4.56 MB / 3.547 GB, free: 84.88 MB / 0.9012 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 postOpt removeSimpleEquations (simulation): time 0.07089/14.59, allocations: 11.89 MB / 3.559 GB, free: 84.11 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/14.59, allocations: 0 / 3.559 GB, free: 84.11 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007078/14.59, allocations: 0.6454 MB / 3.559 GB, free: 84.11 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/14.6, allocations: 367.6 kB / 3.56 GB, free: 84.09 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006603/14.6, allocations: 88.52 kB / 3.56 GB, free: 84.09 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007496/14.6, allocations: 5.325 MB / 3.565 GB, free: 81.38 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/14.6, allocations: 3.844 kB / 3.565 GB, free: 81.38 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/14.62, allocations: 7.862 MB / 3.573 GB, free: 80.59 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005273/14.63, allocations: 1.246 MB / 3.574 GB, free: 80.23 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002005/14.63, allocations: 70.3 kB / 3.574 GB, free: 80.23 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007737/14.64, allocations: 420.6 kB / 3.574 GB, free: 80.2 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001013/14.64, allocations: 207 kB / 3.575 GB, free: 80.2 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005232/14.64, allocations: 129.1 kB / 3.575 GB, free: 80.2 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.01013/14.65, allocations: 4.039 MB / 3.579 GB, free: 80.02 MB / 0.9012 GB Notification: Performance of sort global known variables: time 7.92e-07/14.65, allocations: 0 / 3.579 GB, free: 80.02 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.009835/14.66, allocations: 2.058 MB / 3.581 GB, free: 79.77 MB / 0.9012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (308): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.002704/14.66, allocations: 0.8262 MB / 3.582 GB, free: 79.62 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.0137/14.68, allocations: 5.415 MB / 3.587 GB, free: 79.24 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/14.68, allocations: 3.938 kB / 3.587 GB, free: 79.24 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.006854/14.68, allocations: 2.547 MB / 3.589 GB, free: 78.97 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02497/14.71, allocations: 3.166 MB / 3.592 GB, free: 78.93 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03574/14.74, allocations: 16.29 MB / 3.608 GB, free: 73.32 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00817/14.75, allocations: 4.732 MB / 3.613 GB, free: 72.47 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.01137/14.76, allocations: 2.078 MB / 3.615 GB, free: 72.42 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002939/14.77, allocations: 467.5 kB / 3.615 GB, free: 72.41 MB / 0.9012 GB Notification: Performance of SimCode: time 1.102e-06/14.77, allocations: 1.531 kB / 3.615 GB, free: 72.41 MB / 0.9012 GB Notification: Performance of Templates: time 0.2726/15.04, allocations: 117 MB / 3.73 GB, free: 30.39 MB / 0.9012 GB