Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.00142, allocations: 188.1 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7654/0.7654, allocations: 82.92 MB / 99.41 MB, free: 3.23 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 325.4 MB, free: 3.438 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 98.72 kB / 393.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007112/0.0007115, allocations: 16 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1417, allocations: 67.45 MB / 0.5264 GB, free: 15.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0795/0.2212, allocations: 41.19 MB / 0.5666 GB, free: 5.777 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03133/0.2526, allocations: 11.89 MB / 0.5782 GB, free: 9.859 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003547/0.2562, allocations: 63.56 kB / 0.5782 GB, free: 9.797 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.2609, allocations: 0.7501 MB / 0.579 GB, free: 9.043 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.2736, allocations: 1.955 MB / 0.5809 GB, free: 7.082 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009801/0.2834, allocations: 1.423 MB / 0.5823 GB, free: 5.684 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.3996/0.6831, allocations: 10.44 MB / 0.5925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01229/0.6954, allocations: 6.533 MB / 0.5989 GB, free: 9.938 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009106/0.7046, allocations: 4.001 MB / 0.6028 GB, free: 9.934 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007567/0.7122, allocations: 3.427 MB / 0.6061 GB, free: 9.918 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002033/0.7142, allocations: 302.3 kB / 0.6064 GB, free: 9.918 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006357/0.7206, allocations: 0.7998 MB / 0.6072 GB, free: 9.918 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002887/0.7235, allocations: 1.301 MB / 0.6085 GB, free: 9.918 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003966/0.7275, allocations: 1.471 MB / 0.6099 GB, free: 9.816 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.7397, allocations: 9.383 MB / 0.6191 GB, free: 8.109 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.7397, allocations: 0 / 0.6191 GB, free: 8.109 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.911e-06/0.7398, allocations: 2.734 kB / 0.6191 GB, free: 8.109 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003098/0.7401, allocations: 4 kB / 0.6191 GB, free: 8.105 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01504/0.7551, allocations: 6.24 MB / 0.6252 GB, free: 4.574 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7552, allocations: 8.219 kB / 0.6252 GB, free: 4.574 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/0.7588, allocations: 0.778 MB / 0.6259 GB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/0.7715, allocations: 5.547 MB / 0.6313 GB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/0.772, allocations: 418.3 kB / 0.6317 GB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001532/0.7735, allocations: 0.5383 MB / 0.6323 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/0.7935, allocations: 7.982 MB / 0.6401 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001964/0.7938, allocations: 15.84 kB / 0.6401 GB, free: 15.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001098/0.7949, allocations: 240.1 kB / 0.6403 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.7951, allocations: 169.9 kB / 0.6405 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01772/0.8129, allocations: 6.482 MB / 0.6468 GB, free: 10.79 MB / 442.7 MB 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.05876/0.8717, allocations: 31.38 MB / 0.6774 GB, free: 11.99 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008359/0.8801, allocations: 3.64 MB / 0.681 GB, free: 8.359 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.8814, allocations: 0.8307 MB / 0.6818 GB, free: 7.371 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.208e-05/0.8815, allocations: 76.67 kB / 0.6819 GB, free: 7.285 MB / 474.7 MB Notification: Performance of pre-optimization done (n=267): time 6.851e-06/0.8815, allocations: 2.516 kB / 0.6819 GB, free: 7.285 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.016/0.8975, allocations: 5.786 MB / 0.6875 GB, free: 1.395 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.8976, allocations: 77.52 kB / 0.6876 GB, free: 1.305 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/0.9097, allocations: 5.32 MB / 0.6928 GB, free: 11.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006304/0.9104, allocations: 77.7 kB / 0.6929 GB, free: 11.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003884/0.9143, allocations: 2.839 MB / 0.6956 GB, free: 9.051 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001765/0.9161, allocations: 0.9371 MB / 0.6966 GB, free: 8.121 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.9165, allocations: 80 kB / 0.6966 GB, free: 8.043 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004022/0.9169, allocations: 461.9 kB / 0.6971 GB, free: 7.586 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003947/0.9208, allocations: 1.674 MB / 0.6987 GB, free: 5.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005547/0.9264, allocations: 2.927 MB / 0.7016 GB, free: 2.438 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005339/0.9318, allocations: 2.299 MB / 0.7038 GB, free: 128 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.144e-05/0.9318, allocations: 12 kB / 0.7038 GB, free: 116 kB / 490.7 MB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0146/0.9465, allocations: 5.441 MB / 0.7091 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.75e-05/0.9465, allocations: 24 kB / 0.7092 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-05/0.9466, allocations: 40 kB / 0.7092 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.9482, allocations: 427 kB / 0.7096 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004841/0.953, allocations: 0.8541 MB / 0.7104 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008527/0.9616, allocations: 5.345 MB / 0.7157 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006444/0.9681, allocations: 0.682 MB / 0.7163 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009104/0.969, allocations: 180 kB / 0.7165 GB, free: 2.816 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006022/0.9751, allocations: 2.261 MB / 0.7187 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/0.9767, allocations: 482.2 kB / 0.7192 GB, free: 68 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/0.988, allocations: 4.202 MB / 0.7233 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.936e-05/0.988, allocations: 24 kB / 0.7233 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.9881, allocations: 4 kB / 0.7233 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008539/0.9966, allocations: 3.664 MB / 0.7269 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02866/1.025, allocations: 10.12 MB / 0.7368 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/1.025, allocations: 4 kB / 0.7368 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003519/1.029, allocations: 0.4989 MB / 0.7372 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/1.03, allocations: 369.9 kB / 0.7376 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006362/1.031, allocations: 83.95 kB / 0.7377 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00848/1.039, allocations: 5.249 MB / 0.7428 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/1.04, allocations: 11.92 kB / 0.7428 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/1.055, allocations: 6.897 MB / 0.7495 GB, free: 116 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004422/1.06, allocations: 1.246 MB / 0.7508 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001543/1.061, allocations: 59.98 kB / 0.7508 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005231/1.067, allocations: 356.5 kB / 0.7512 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006141/1.067, allocations: 165.7 kB / 0.7513 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004592/1.068, allocations: 131.9 kB / 0.7514 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009006/1.077, allocations: 3.915 MB / 0.7553 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.256e-06/1.077, allocations: 4 kB / 0.7553 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007644/1.084, allocations: 1.8 MB / 0.757 GB, free: 8.441 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001652/1.086, allocations: 485.3 kB / 0.7575 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009978/1.096, allocations: 4.27 MB / 0.7617 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/1.096, allocations: 9.781 kB / 0.7617 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004788/1.101, allocations: 2.059 MB / 0.7637 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01797/1.119, allocations: 3.229 MB / 0.7668 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03188/1.151, allocations: 14.55 MB / 0.781 GB, free: 15.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/1.162, allocations: 4.375 MB / 0.7853 GB, free: 11.39 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01407/1.176, allocations: 1.96 MB / 0.7872 GB, free: 9.422 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002124/1.178, allocations: 403.3 kB / 0.7876 GB, free: 9.027 MB / 0.573 GB Notification: Performance of SimCode: time 1.849e-06/1.178, allocations: 4 kB / 0.7876 GB, free: 9.023 MB / 0.573 GB Notification: Performance of Templates: time 0.5429/1.721, allocations: 108.7 MB / 0.8937 GB, free: 157.9 MB / 0.5886 GB