Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.718/4.718, allocations: 0.5623 GB / 0.5776 GB, free: 3.324 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.002513/0.002513, allocations: 363.4 kB / 0.6447 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 4.068/4.068, allocations: 410.7 MB / 1.113 GB, free: 5.914 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.001841/0.001841, allocations: 191.7 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005074, allocations: 16 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6917/0.6923, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06388/0.7562, allocations: 51.54 MB / 1.512 GB, free: 232.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02717/0.7834, allocations: 16.59 MB / 1.528 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002862/0.7863, allocations: 63.56 kB / 1.528 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00339/0.7898, allocations: 0.7296 MB / 1.529 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.008771/0.7986, allocations: 2.285 MB / 1.531 GB, free: 213.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00648/0.8051, allocations: 1.568 MB / 1.532 GB, free: 211.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02644/0.8316, allocations: 23.37 MB / 1.555 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01272/0.8444, allocations: 7.143 MB / 1.562 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/0.8553, allocations: 5.14 MB / 1.567 GB, free: 176 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01098/0.8663, allocations: 5.481 MB / 1.573 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002223/0.8686, allocations: 348 kB / 1.573 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005987/0.8746, allocations: 0.776 MB / 1.574 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003345/0.878, allocations: 1.522 MB / 1.575 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.003749/0.8818, allocations: 1.6 MB / 1.577 GB, free: 166.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.8955, allocations: 10.28 MB / 1.587 GB, free: 156 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.8955, allocations: 3.938 kB / 1.587 GB, free: 156 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.547e-06/0.8956, allocations: 4 kB / 1.587 GB, free: 156 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004415/0.896, allocations: 0 / 1.587 GB, free: 156 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02143/0.9174, allocations: 6.901 MB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.9175, allocations: 11.62 kB / 1.594 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004624/0.9222, allocations: 0.8501 MB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/0.9392, allocations: 6.348 MB / 1.601 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005402/0.9398, allocations: 460.2 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002207/0.942, allocations: 0.5975 MB / 1.602 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0257/0.9677, allocations: 8.982 MB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003032/0.9681, allocations: 19.78 kB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/0.9698, allocations: 260 kB / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002118/0.97, allocations: 187.9 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02129/0.9913, allocations: 7.41 MB / 1.618 GB, free: 123.5 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.06429/1.056, allocations: 35.94 MB / 1.653 GB, free: 85.47 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009904/1.066, allocations: 4.272 MB / 1.657 GB, free: 81.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007409/1.073, allocations: 3.39 MB / 1.661 GB, free: 77.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/1.075, allocations: 0.9856 MB / 1.662 GB, free: 76.63 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006172/1.081, allocations: 2.379 MB / 1.664 GB, free: 74.21 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003665/1.085, allocations: 443.8 kB / 1.664 GB, free: 73.78 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=317): time 1.227e-05/1.085, allocations: 0 / 1.664 GB, free: 73.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=317): time 0.02083/1.106, allocations: 7.078 MB / 1.671 GB, free: 66.61 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/1.106, allocations: 89.89 kB / 1.671 GB, free: 66.51 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/1.117, allocations: 5.337 MB / 1.677 GB, free: 61.19 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008379/1.118, allocations: 89.7 kB / 1.677 GB, free: 61.09 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.003455/1.121, allocations: 3.164 MB / 1.68 GB, free: 57.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001744/1.123, allocations: 1.121 MB / 1.681 GB, free: 56.76 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/1.123, allocations: 84 kB / 1.681 GB, free: 56.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002726/1.124, allocations: 499.6 kB / 1.681 GB, free: 56.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00528/1.129, allocations: 2.136 MB / 1.683 GB, free: 54.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006575/1.135, allocations: 3.677 MB / 1.687 GB, free: 49.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006954/1.142, allocations: 2.904 MB / 1.69 GB, free: 46.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.353e-05/1.143, allocations: 12 kB / 1.69 GB, free: 46.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01696/1.16, allocations: 6.721 MB / 1.696 GB, free: 39.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.08e-05/1.16, allocations: 53.7 kB / 1.696 GB, free: 39.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.727e-05/1.16, allocations: 48 kB / 1.697 GB, free: 39.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/1.161, allocations: 441.5 kB / 1.697 GB, free: 39.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007028/1.168, allocations: 1.014 MB / 1.698 GB, free: 38.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007061/1.175, allocations: 5.24 MB / 1.703 GB, free: 32.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008038/1.183, allocations: 482.7 kB / 1.704 GB, free: 32.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008211/1.184, allocations: 219.9 kB / 1.704 GB, free: 32.2 MB / 0.8542 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 ($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 (540): * Single equations (assignments): 537 * 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.005383/1.19, allocations: 2.466 MB / 1.706 GB, free: 29.73 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/1.191, allocations: 0.5211 MB / 1.707 GB, free: 29.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/1.204, allocations: 5.227 MB / 1.712 GB, free: 23.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009816/1.214, allocations: 4.523 MB / 1.716 GB, free: 19.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/1.214, allocations: 0 / 1.716 GB, free: 19.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004096/1.218, allocations: 1.24 MB / 1.717 GB, free: 18.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00142/1.219, allocations: 63.98 kB / 1.717 GB, free: 17.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006468/1.226, allocations: 377.9 kB / 1.718 GB, free: 17.61 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006022/1.226, allocations: 210.2 kB / 1.718 GB, free: 17.4 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0165/1.243, allocations: 5.295 MB / 1.723 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01692/1.26, allocations: 7.887 MB / 1.731 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004491/1.264, allocations: 2.202 MB / 1.733 GB, free: 1.891 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.243/2.508, allocations: 3.702 MB / 1.737 GB, free: 250.5 MB / 0.8543 GB Notification: Performance of Backend: time 9.72e-07/2.508, allocations: 0 / 1.737 GB, free: 250.5 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.01267/2.52, allocations: 4.063 MB / 1.741 GB, free: 249.3 MB / 0.8543 GB Notification: Performance of SimCode: time 0.05002/2.57, allocations: 17.61 MB / 1.758 GB, free: 241.2 MB / 0.8543 GB Notification: Performance of Templates: time 0.246/2.816, allocations: 112.3 MB / 1.867 GB, free: 138.9 MB / 0.8543 GB