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.796/4.796, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 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.002608/0.002608, allocations: 357.8 kB / 0.6447 GB, free: 185.7 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 4.356/4.356, allocations: 410.7 MB / 1.113 GB, free: 5.992 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.001891/0.001891, allocations: 189.2 kB / 1.226 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004719, allocations: 12 kB / 1.349 GB, free: 8.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6915/0.692, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.04432/0.7364, allocations: 34.9 MB / 1.495 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02158/0.758, allocations: 11.62 MB / 1.507 GB, free: 238 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.7602, allocations: 43.69 kB / 1.507 GB, free: 237.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002671/0.7629, allocations: 0.5695 MB / 1.507 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.006378/0.7693, allocations: 1.591 MB / 1.509 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.7794, allocations: 2.611 MB / 1.511 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01139/0.7908, allocations: 8.847 MB / 1.52 GB, free: 224.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005122/0.796, allocations: 2.744 MB / 1.523 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004726/0.8008, allocations: 2.062 MB / 1.525 GB, free: 219.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004495/0.8053, allocations: 2.14 MB / 1.527 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0009423/0.8063, allocations: 136 kB / 1.527 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.8097, allocations: 0.6198 MB / 1.528 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.8112, allocations: 0.5836 MB / 1.528 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.8127, allocations: 0.6408 MB / 1.529 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005782/0.8185, allocations: 3.944 MB / 1.533 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.8186, allocations: 7.938 kB / 1.533 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.096e-06/0.8186, allocations: 3.938 kB / 1.533 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001576/0.8188, allocations: 0 / 1.533 GB, free: 211.6 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.008599/0.8274, allocations: 2.98 MB / 1.536 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.8275, allocations: 11.62 kB / 1.536 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.8293, allocations: 356 kB / 1.536 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006545/0.8359, allocations: 2.519 MB / 1.538 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.8361, allocations: 176.6 kB / 1.539 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007279/0.8369, allocations: 241.5 kB / 1.539 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008448/0.8453, allocations: 3.214 MB / 1.542 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.901e-05/0.8455, allocations: 7.938 kB / 1.542 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003895/0.8459, allocations: 100 kB / 1.542 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.182e-05/0.846, allocations: 60 kB / 1.542 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007386/0.8534, allocations: 2.574 MB / 1.545 GB, free: 199.1 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.02425/0.8777, allocations: 13.74 MB / 1.558 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/0.8818, allocations: 1.636 MB / 1.56 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/0.8845, allocations: 1.178 MB / 1.561 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.8858, allocations: 0.7166 MB / 1.561 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/0.8859, allocations: 55.56 kB / 1.562 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002152/0.888, allocations: 179.2 kB / 1.562 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=126): time 1.093e-05/0.8881, allocations: 2.625 kB / 1.562 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=126): time 0.01583/0.9039, allocations: 3.445 MB / 1.565 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.904, allocations: 145.5 kB / 1.565 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003918/0.908, allocations: 1.939 MB / 1.567 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003795/0.9084, allocations: 65.7 kB / 1.567 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.9097, allocations: 1.25 MB / 1.568 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006746/0.9104, allocations: 445.7 kB / 1.569 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.9106, allocations: 32 kB / 1.569 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.9107, allocations: 377.9 kB / 1.569 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.9125, allocations: 0.7261 MB / 1.57 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.9147, allocations: 1.233 MB / 1.571 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.9169, allocations: 0.9509 MB / 1.572 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.54e-05/0.917, allocations: 4 kB / 1.572 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.005942/0.9229, allocations: 2.417 MB / 1.574 GB, free: 167 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002635/0.9232, allocations: 0.4995 MB / 1.575 GB, free: 166.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.9233, allocations: 16 kB / 1.575 GB, free: 166.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003561/0.9268, allocations: 0.5126 MB / 1.575 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/0.9295, allocations: 347.4 kB / 1.576 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004407/0.934, allocations: 3.143 MB / 1.579 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003535/0.9375, allocations: 227.4 kB / 1.579 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003847/0.938, allocations: 75.98 kB / 1.579 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.938, allocations: 4 kB / 1.579 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005521/0.9435, allocations: 2.184 MB / 1.581 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/0.9436, allocations: 16 kB / 1.581 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000913/0.9445, allocations: 241.7 kB / 1.581 GB, free: 159.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/0.9473, allocations: 371.3 kB / 1.582 GB, free: 159 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005335/0.9527, allocations: 4.184 MB / 1.586 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/0.9561, allocations: 218.2 kB / 1.586 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/0.9565, allocations: 79.97 kB / 1.586 GB, free: 154.3 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.002238/0.9587, allocations: 1 MB / 1.587 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006592/0.9594, allocations: 209.5 kB / 1.587 GB, free: 153 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005166/0.9646, allocations: 2.067 MB / 1.589 GB, free: 151 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003773/0.9684, allocations: 1.662 MB / 1.591 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.9685, allocations: 0 / 1.591 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/0.9701, allocations: 0.5101 MB / 1.592 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005583/0.9707, allocations: 32 kB / 1.592 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003097/0.9738, allocations: 192.6 kB / 1.592 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004138/0.9743, allocations: 97.14 kB / 1.592 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006759/0.9811, allocations: 2.145 MB / 1.594 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006183/0.9873, allocations: 2.884 MB / 1.597 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001708/0.9891, allocations: 0.7948 MB / 1.598 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002729/0.9918, allocations: 1.33 MB / 1.599 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of Backend: time 8.51e-07/0.9919, allocations: 0 / 1.599 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009069/1.001, allocations: 3.086 MB / 1.602 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01706/1.018, allocations: 7.187 MB / 1.609 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.1084/1.127, allocations: 47.62 MB / 1.655 GB, free: 83.89 MB / 0.8542 GB