Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.608/4.608, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002417/0.002416, allocations: 355.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.837/3.837, allocations: 410.7 MB / 1.112 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001746/0.001746, allocations: 187.8 kB / 1.225 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004973, allocations: 20 kB / 1.348 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.569, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03191/0.601, allocations: 34.91 MB / 1.495 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.6172, allocations: 11.61 MB / 1.506 GB, free: 237.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.6188, allocations: 47.25 kB / 1.506 GB, free: 237.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.6204, allocations: 0.5667 MB / 1.507 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.004544/0.625, allocations: 1.583 MB / 1.508 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.007691/0.6327, allocations: 2.624 MB / 1.511 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.007824/0.6405, allocations: 8.843 MB / 1.519 GB, free: 224.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003459/0.644, allocations: 2.745 MB / 1.522 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003084/0.6471, allocations: 2.062 MB / 1.524 GB, free: 219.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.6496, allocations: 2.147 MB / 1.526 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003264/0.6499, allocations: 132 kB / 1.526 GB, free: 217.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.6518, allocations: 0.6237 MB / 1.527 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005375/0.6523, allocations: 0.5875 MB / 1.528 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006351/0.653, allocations: 0.6408 MB / 1.528 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.6564, allocations: 3.944 MB / 1.532 GB, free: 211.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.485e-06/0.6564, allocations: 3.938 kB / 1.532 GB, free: 211.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.25e-06/0.6564, allocations: 3.938 kB / 1.532 GB, free: 211.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.26e-05/0.6565, allocations: 0 / 1.532 GB, free: 211.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.005101/0.6616, allocations: 2.977 MB / 1.535 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.6616, allocations: 15.62 kB / 1.535 GB, free: 208.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.6627, allocations: 352 kB / 1.535 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004667/0.6673, allocations: 2.517 MB / 1.538 GB, free: 205.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.6675, allocations: 176.6 kB / 1.538 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003913/0.6679, allocations: 239.9 kB / 1.538 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005907/0.6738, allocations: 3.218 MB / 1.541 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.728e-05/0.6739, allocations: 7.938 kB / 1.541 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/0.6742, allocations: 99.98 kB / 1.541 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.453e-05/0.6743, allocations: 68 kB / 1.542 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004913/0.6793, allocations: 2.566 MB / 1.544 GB, free: 199 MB / 0.8542 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.01681/0.6961, allocations: 13.74 MB / 1.557 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.6991, allocations: 1.631 MB / 1.559 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/0.701, allocations: 1.178 MB / 1.56 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007617/0.7018, allocations: 0.7219 MB / 1.561 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.7018, allocations: 47.56 kB / 1.561 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001418/0.7032, allocations: 191.2 kB / 1.561 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=126): time 4.809e-06/0.7033, allocations: 0 / 1.561 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=126): time 0.01026/0.7135, allocations: 3.445 MB / 1.564 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.7136, allocations: 141.5 kB / 1.565 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.7165, allocations: 1.946 MB / 1.567 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002539/0.7168, allocations: 53.7 kB / 1.567 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.7179, allocations: 1.258 MB / 1.568 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/0.7183, allocations: 445.7 kB / 1.568 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.7185, allocations: 36 kB / 1.568 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7186, allocations: 369.9 kB / 1.569 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.72, allocations: 0.7339 MB / 1.569 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.7216, allocations: 1.233 MB / 1.571 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.7232, allocations: 0.9509 MB / 1.571 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.7232, allocations: 11.95 kB / 1.571 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004792/0.728, allocations: 2.402 MB / 1.574 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.7283, allocations: 0.5067 MB / 1.574 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.7284, allocations: 16 kB / 1.574 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/0.7308, allocations: 0.5112 MB / 1.575 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.7326, allocations: 347.4 kB / 1.575 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.7361, allocations: 3.147 MB / 1.578 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/0.7387, allocations: 231.4 kB / 1.578 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.7389, allocations: 79.98 kB / 1.579 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.7389, allocations: 8 kB / 1.579 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004172/0.7431, allocations: 2.18 MB / 1.581 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.7432, allocations: 16 kB / 1.581 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007419/0.7439, allocations: 241.8 kB / 1.581 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.7457, allocations: 371.4 kB / 1.581 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004582/0.7503, allocations: 4.176 MB / 1.585 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.7529, allocations: 215.5 kB / 1.586 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/0.7532, allocations: 83.97 kB / 1.586 GB, free: 154.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.001659/0.7548, allocations: 1.004 MB / 1.587 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/0.7553, allocations: 205.5 kB / 1.587 GB, free: 153 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/0.7592, allocations: 2.06 MB / 1.589 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.7593, allocations: 16 kB / 1.589 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.775e-06/0.7593, allocations: 0 / 1.589 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002945/0.7622, allocations: 1.667 MB / 1.59 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008852/0.7711, allocations: 4.678 MB / 1.595 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.964e-06/0.7712, allocations: 0 / 1.595 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.7723, allocations: 203.8 kB / 1.595 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/0.7742, allocations: 450.7 kB / 1.596 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.7744, allocations: 35.97 kB / 1.596 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003364/0.7778, allocations: 3.05 MB / 1.599 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.374e-06/0.7778, allocations: 8.094 kB / 1.599 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/0.7834, allocations: 2.979 MB / 1.602 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.7847, allocations: 0.5101 MB / 1.602 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/0.7851, allocations: 35.94 kB / 1.602 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/0.7871, allocations: 196.8 kB / 1.602 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/0.7874, allocations: 105.1 kB / 1.602 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/0.7875, allocations: 64.08 kB / 1.602 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002372/0.7899, allocations: 1.326 MB / 1.604 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.037e-06/0.7899, allocations: 4 kB / 1.604 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004638/0.7946, allocations: 1.476 MB / 1.605 GB, free: 133.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008642/0.7955, allocations: 366.2 kB / 1.606 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005867/0.8014, allocations: 3.361 MB / 1.609 GB, free: 130 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.515e-06/0.8014, allocations: 0 / 1.609 GB, free: 130 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.8031, allocations: 1.016 MB / 1.61 GB, free: 129 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005868/0.809, allocations: 1.159 MB / 1.611 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009167/0.8182, allocations: 6.285 MB / 1.617 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/0.8201, allocations: 2.207 MB / 1.619 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003505/0.8236, allocations: 0.9327 MB / 1.62 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/0.8242, allocations: 167.4 kB / 1.62 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.69e-06/0.8242, allocations: 0 / 1.62 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.08698/0.9112, allocations: 44.88 MB / 1.664 GB, free: 74 MB / 0.8542 GB