Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004245/0.004245, allocations: 360.2 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.538/1.538, allocations: 165.8 MB / 183.1 MB, free: 5.434 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.016/4.016, allocations: 410.8 MB / 0.6001 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001693/0.001693, allocations: 195.2 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004915, allocations: 8 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4014, allocations: 67.45 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.6334/1.035, allocations: 140 MB / 0.9455 GB, free: 8.242 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.07024/1.105, allocations: 40.85 MB / 0.9854 GB, free: 7.805 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008561/1.114, allocations: 173.2 kB / 0.9855 GB, free: 7.805 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009672/1.123, allocations: 1.973 MB / 0.9875 GB, free: 7.801 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02515/1.149, allocations: 5.969 MB / 0.9933 GB, free: 6.5 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01807/1.167, allocations: 4.12 MB / 0.9973 GB, free: 5.355 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.07251/1.239, allocations: 46.54 MB / 1.043 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0383/1.278, allocations: 15.31 MB / 1.058 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03783/1.316, allocations: 10.83 MB / 1.068 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03514/1.351, allocations: 10.96 MB / 1.079 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.006914/1.358, allocations: 0.7422 MB / 1.08 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01645/1.374, allocations: 2.243 MB / 1.082 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.008811/1.383, allocations: 3.121 MB / 1.085 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.01038/1.393, allocations: 3.65 MB / 1.089 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.04565/1.439, allocations: 25.2 MB / 1.113 GB, free: 10.79 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/1.439, allocations: 0 / 1.113 GB, free: 10.79 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.575e-06/1.439, allocations: 4 kB / 1.113 GB, free: 10.79 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.001053/1.44, allocations: 0 / 1.113 GB, free: 10.79 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.06893/1.509, allocations: 15.82 MB / 1.129 GB, free: 11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/1.509, allocations: 8.031 kB / 1.129 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/1.521, allocations: 1.922 MB / 1.13 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04742/1.569, allocations: 14.68 MB / 1.145 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001794/1.571, allocations: 0.9699 MB / 1.146 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005875/1.577, allocations: 1.292 MB / 1.147 GB, free: 8.383 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8411/2.418, allocations: 19.11 MB / 1.166 GB, free: 214.4 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008234/2.419, allocations: 44.06 kB / 1.166 GB, free: 214.3 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004435/2.423, allocations: 0.5288 MB / 1.166 GB, free: 214 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006042/2.424, allocations: 355.1 kB / 1.167 GB, free: 213.9 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05062/2.474, allocations: 16.55 MB / 1.183 GB, free: 206 MB / 0.6043 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.169/2.643, allocations: 85.14 MB / 1.266 GB, free: 123.9 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02804/2.672, allocations: 12.18 MB / 1.278 GB, free: 111.7 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01523/2.687, allocations: 6.245 MB / 1.284 GB, free: 105.4 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08571/2.773, allocations: 28.29 MB / 1.311 GB, free: 76.22 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/2.773, allocations: 120.7 kB / 1.312 GB, free: 76.09 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008739/2.782, allocations: 0.7291 MB / 1.312 GB, free: 75.35 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=651): time 2.116e-05/2.782, allocations: 3.938 kB / 1.312 GB, free: 75.35 MB / 0.6043 GB Notification: Performance of matching and sorting (n=651): time 0.0844/2.866, allocations: 17.89 MB / 1.33 GB, free: 57.05 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/2.866, allocations: 116.5 kB / 1.33 GB, free: 56.92 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04671/2.913, allocations: 12.6 MB / 1.342 GB, free: 44.38 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.00275/2.916, allocations: 181.7 kB / 1.342 GB, free: 44.19 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.01232/2.928, allocations: 7.199 MB / 1.349 GB, free: 36.99 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004704/2.933, allocations: 2.296 MB / 1.352 GB, free: 34.71 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002173/2.935, allocations: 236 kB / 1.352 GB, free: 34.48 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.001098/2.936, allocations: 0.7856 MB / 1.353 GB, free: 33.69 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01745/2.954, allocations: 5.784 MB / 1.358 GB, free: 27.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01842/2.972, allocations: 9.74 MB / 1.368 GB, free: 16.41 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01953/2.992, allocations: 7.705 MB / 1.375 GB, free: 8.691 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000126/2.992, allocations: 36 kB / 1.375 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1488) (initialization): time 0.9749/3.967, allocations: 18.82 MB / 1.394 GB, free: 195.2 MB / 0.6044 GB Notification: Performance of prepare postOptimizeDAE: time 0.002951/3.97, allocations: 3.79 MB / 1.397 GB, free: 190.3 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004111/3.97, allocations: 122.4 kB / 1.398 GB, free: 190.3 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1848/4.155, allocations: 11.94 MB / 1.409 GB, free: 188.8 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01814/4.173, allocations: 2.42 MB / 1.412 GB, free: 188.7 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02469/4.198, allocations: 20.34 MB / 1.431 GB, free: 173.5 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0197/4.218, allocations: 1.122 MB / 1.433 GB, free: 173.2 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003102/4.221, allocations: 0.5416 MB / 1.433 GB, free: 173.1 MB / 0.6044 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/4.221, allocations: 8 kB / 1.433 GB, free: 173.1 MB / 0.6044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05049/4.271, allocations: 17.8 MB / 1.45 GB, free: 161.2 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004141/4.272, allocations: 120 kB / 1.451 GB, free: 161.1 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1822/4.454, allocations: 11.95 MB / 1.462 GB, free: 149.1 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.017/4.471, allocations: 2.375 MB / 1.465 GB, free: 146.8 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/4.494, allocations: 18.53 MB / 1.483 GB, free: 127.6 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01819/4.512, allocations: 1.074 MB / 1.484 GB, free: 126.6 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003051/4.515, allocations: 0.5506 MB / 1.484 GB, free: 126.1 MB / 0.6044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 561 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1254): * Single equations (assignments): 1236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.01452/4.53, allocations: 5.778 MB / 1.49 GB, free: 120.4 MB / 0.6044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004363/4.534, allocations: 1.153 MB / 1.491 GB, free: 119.4 MB / 0.6044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03484/4.569, allocations: 11.61 MB / 1.502 GB, free: 107.7 MB / 0.6044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02629/4.595, allocations: 9.618 MB / 1.512 GB, free: 97.93 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-05/4.595, allocations: 0 / 1.512 GB, free: 97.93 MB / 0.6044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009407/4.605, allocations: 2.667 MB / 1.514 GB, free: 95.23 MB / 0.6044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004163/4.609, allocations: 140 kB / 1.514 GB, free: 95.09 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01523/4.624, allocations: 0.7346 MB / 1.515 GB, free: 94.38 MB / 0.6044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00194/4.626, allocations: 380.7 kB / 1.516 GB, free: 94 MB / 0.6044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04157/4.668, allocations: 12.28 MB / 1.528 GB, free: 81.75 MB / 0.6044 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03893/4.707, allocations: 15.65 MB / 1.543 GB, free: 65.98 MB / 0.6044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009872/4.717, allocations: 4.503 MB / 1.547 GB, free: 61.45 MB / 0.6044 GB Notification: Performance of sorting global known variables: time 0.02212/4.739, allocations: 8.582 MB / 1.556 GB, free: 52.91 MB / 0.6044 GB Notification: Performance of Backend: time 7.01e-07/4.739, allocations: 0 / 1.556 GB, free: 52.91 MB / 0.6044 GB Notification: Performance of simCode: created initialization part: time 0.06527/4.804, allocations: 19.62 MB / 1.575 GB, free: 33.48 MB / 0.6044 GB Notification: Performance of SimCode: time 0.5345/5.339, allocations: 39.57 MB / 1.613 GB, free: 189.7 MB / 0.62 GB Notification: Performance of Templates: time 1.092/6.431, allocations: 286 MB / 1.893 GB, free: 186.2 MB / 0.6357 GB