Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002524/0.002528, allocations: 358.6 kB / 16.59 MB, free: 5.566 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.515/1.515, allocations: 165.8 MB / 183.1 MB, free: 5.477 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 3.675/3.675, allocations: 410.8 MB / 0.6001 GB, free: 15.13 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.001752/0.001752, allocations: 194.2 kB / 0.6668 GB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004626, allocations: 12 kB / 0.7429 GB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4017, allocations: 67.44 MB / 0.8087 GB, free: 28.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06774/0.4695, allocations: 51.51 MB / 0.859 GB, free: 9.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03297/0.5025, allocations: 16.59 MB / 0.8752 GB, free: 8.465 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.5053, allocations: 67.56 kB / 0.8753 GB, free: 8.398 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003756/0.5091, allocations: 0.7335 MB / 0.876 GB, free: 7.66 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009878/0.5191, allocations: 2.276 MB / 0.8782 GB, free: 5.371 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007264/0.5264, allocations: 1.575 MB / 0.8798 GB, free: 3.82 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.03481/0.5612, allocations: 23.38 MB / 0.9026 GB, free: 12.38 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01539/0.5767, allocations: 7.142 MB / 0.9096 GB, free: 5.16 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01293/0.5896, allocations: 5.144 MB / 0.9146 GB, free: 15.99 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01307/0.6028, allocations: 5.469 MB / 0.92 GB, free: 10.5 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.6046, allocations: 348 kB / 0.9203 GB, free: 10.16 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005885/0.6106, allocations: 0.7877 MB / 0.9211 GB, free: 9.375 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003231/0.6138, allocations: 1.522 MB / 0.9225 GB, free: 7.848 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00399/0.6178, allocations: 1.6 MB / 0.9241 GB, free: 6.238 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4164/1.034, allocations: 10.28 MB / 0.9341 GB, free: 28.98 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.034, allocations: 0.6875 kB / 0.9341 GB, free: 28.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.376e-06/1.034, allocations: 0 / 0.9341 GB, free: 28.98 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005554/1.035, allocations: 0 / 0.9341 GB, free: 28.98 MB / 474.7 MB 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.02642/1.061, allocations: 6.92 MB / 0.9409 GB, free: 26.21 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.061, allocations: 10.31 kB / 0.9409 GB, free: 26.21 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005926/1.067, allocations: 0.8421 MB / 0.9417 GB, free: 25.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02025/1.088, allocations: 6.343 MB / 0.9479 GB, free: 25.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007881/1.089, allocations: 461.2 kB / 0.9484 GB, free: 25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003205/1.092, allocations: 0.597 MB / 0.949 GB, free: 25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0313/1.123, allocations: 8.983 MB / 0.9577 GB, free: 24.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004074/1.124, allocations: 14.97 kB / 0.9577 GB, free: 24.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002843/1.126, allocations: 264.5 kB / 0.958 GB, free: 24.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002635/1.127, allocations: 182 kB / 0.9582 GB, free: 24.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02471/1.151, allocations: 7.414 MB / 0.9654 GB, free: 23.93 MB / 474.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.07137/1.223, allocations: 35.94 MB / 1.001 GB, free: 1.691 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/1.234, allocations: 4.275 MB / 1.005 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009006/1.243, allocations: 3.379 MB / 1.008 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002333/1.245, allocations: 0.9837 MB / 1.009 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007733/1.253, allocations: 2.377 MB / 1.011 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00444/1.257, allocations: 450.2 kB / 1.012 GB, free: 10.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=317): time 1.588e-05/1.257, allocations: 4 kB / 1.012 GB, free: 10.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=317): time 0.02556/1.283, allocations: 7.079 MB / 1.019 GB, free: 3.551 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/1.283, allocations: 85.91 kB / 1.019 GB, free: 3.453 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01388/1.297, allocations: 5.334 MB / 1.024 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001124/1.298, allocations: 85.7 kB / 1.024 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004888/1.303, allocations: 3.176 MB / 1.027 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002398/1.306, allocations: 1.11 MB / 1.028 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006381/1.306, allocations: 88 kB / 1.028 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004421/1.307, allocations: 495.6 kB / 1.029 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006633/1.313, allocations: 2.14 MB / 1.031 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0083/1.322, allocations: 3.674 MB / 1.034 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008379/1.33, allocations: 2.903 MB / 1.037 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.286e-05/1.33, allocations: 16 kB / 1.037 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0219/1.352, allocations: 6.727 MB / 1.044 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.352, allocations: 53.7 kB / 1.044 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.226e-05/1.352, allocations: 48 kB / 1.044 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/1.354, allocations: 439.4 kB / 1.044 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008105/1.362, allocations: 1.015 MB / 1.045 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009369/1.372, allocations: 5.252 MB / 1.05 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008981/1.381, allocations: 474.8 kB / 1.051 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.382, allocations: 216 kB / 1.051 GB, free: 1.688 MB / 0.5105 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.00773/1.39, allocations: 2.459 MB / 1.054 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002364/1.392, allocations: 0.521 MB / 1.054 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01827/1.411, allocations: 5.236 MB / 1.059 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01386/1.424, allocations: 4.509 MB / 1.064 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/1.425, allocations: 0 / 1.064 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005368/1.43, allocations: 1.244 MB / 1.065 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002398/1.432, allocations: 68 kB / 1.065 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007998/1.44, allocations: 375.4 kB / 1.065 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/1.441, allocations: 206.2 kB / 1.065 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01936/1.461, allocations: 5.29 MB / 1.071 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02249/1.483, allocations: 7.884 MB / 1.078 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005942/1.489, allocations: 2.206 MB / 1.08 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01079/1.5, allocations: 3.706 MB / 1.084 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of Backend: time 1.102e-06/1.5, allocations: 0 / 1.084 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01653/1.517, allocations: 4.074 MB / 1.088 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of SimCode: time 0.05454/1.571, allocations: 17.59 MB / 1.105 GB, free: 10.4 MB / 0.573 GB Notification: Performance of Templates: time 1.026/2.598, allocations: 112.3 MB / 1.215 GB, free: 211 MB / 0.6199 GB