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.002585/0.00259, allocations: 353.5 kB / 16.57 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.235/1.235, allocations: 165.8 MB / 183.1 MB, free: 5.922 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.09/4.09, allocations: 410.7 MB / 0.6001 GB, free: 2.109 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001967/0.001967, allocations: 183.8 kB / 0.6668 GB, free: 13.97 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006163/0.0006164, allocations: 15.94 kB / 0.7429 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4626, allocations: 67.43 MB / 0.8087 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8076/1.27, allocations: 367.6 MB / 1.168 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/1.271, allocations: 98.92 kB / 1.168 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 10.85/12.12, allocations: 2.172 GB / 3.34 GB, free: 33.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.196e-06/12.12, allocations: 0 / 3.34 GB, free: 33.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.00109/12.12, allocations: 186.3 kB / 3.34 GB, free: 33.01 MB / 0.6042 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.0304/12.15, allocations: 7.212 MB / 3.347 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/12.15, allocations: 8.031 kB / 3.347 GB, free: 25.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00595/12.16, allocations: 0.8461 MB / 3.348 GB, free: 24.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02342/12.18, allocations: 7.328 MB / 3.355 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005692/12.18, allocations: 468.2 kB / 3.355 GB, free: 17.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002638/12.18, allocations: 0.5898 MB / 3.356 GB, free: 16.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02654/12.21, allocations: 8.501 MB / 3.364 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002836/12.21, allocations: 15.88 kB / 3.364 GB, free: 7.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001618/12.21, allocations: 256 kB / 3.365 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/12.21, allocations: 183.9 kB / 3.365 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/12.23, allocations: 6.903 MB / 3.371 GB, free: 260 kB / 0.6042 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.9873/13.22, allocations: 33.96 MB / 3.405 GB, free: 49.99 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009887/13.23, allocations: 4.207 MB / 3.409 GB, free: 49.94 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007868/13.24, allocations: 3.517 MB / 3.412 GB, free: 49.89 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001723/13.24, allocations: 0.9564 MB / 3.413 GB, free: 48.95 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006476/13.25, allocations: 2.345 MB / 3.415 GB, free: 48.84 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004296/13.25, allocations: 468.9 kB / 3.416 GB, free: 48.73 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=317): time 1.342e-05/13.25, allocations: 0 / 3.416 GB, free: 48.73 MB / 0.6043 GB Notification: Performance of matching and sorting (n=317): time 0.02178/13.27, allocations: 6.999 MB / 3.423 GB, free: 48.11 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/13.27, allocations: 83.88 kB / 3.423 GB, free: 48.04 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/13.29, allocations: 5.36 MB / 3.428 GB, free: 47.7 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/13.29, allocations: 91.83 kB / 3.428 GB, free: 47.67 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.004154/13.29, allocations: 3.155 MB / 3.431 GB, free: 46.73 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001964/13.29, allocations: 1.114 MB / 3.432 GB, free: 46.04 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004564/13.29, allocations: 89.66 kB / 3.432 GB, free: 46.04 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0003109/13.29, allocations: 493.6 kB / 3.433 GB, free: 45.72 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005337/13.3, allocations: 2.106 MB / 3.435 GB, free: 45.71 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006778/13.31, allocations: 3.657 MB / 3.438 GB, free: 43.88 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007218/13.31, allocations: 2.872 MB / 3.441 GB, free: 43.8 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-05/13.31, allocations: 11.81 kB / 3.441 GB, free: 43.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01845/13.33, allocations: 6.654 MB / 3.448 GB, free: 43.36 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.865e-05/13.33, allocations: 59.64 kB / 3.448 GB, free: 43.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-05/13.33, allocations: 48.66 kB / 3.448 GB, free: 43.32 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/13.33, allocations: 441.8 kB / 3.448 GB, free: 43.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007469/13.34, allocations: 0.9863 MB / 3.449 GB, free: 43.3 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007501/13.35, allocations: 5.3 MB / 3.454 GB, free: 40.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00892/13.36, allocations: 471 kB / 3.455 GB, free: 40.54 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/13.36, allocations: 220.9 kB / 3.455 GB, free: 40.54 MB / 0.6043 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.006798/13.37, allocations: 2.467 MB / 3.458 GB, free: 40.39 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001829/13.37, allocations: 0.5232 MB / 3.458 GB, free: 40.12 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/13.38, allocations: 5.157 MB / 3.463 GB, free: 39.89 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/13.38, allocations: 31.88 kB / 3.463 GB, free: 39.89 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/13.38, allocations: 7.375 kB / 3.463 GB, free: 39.89 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01104/13.39, allocations: 4.452 MB / 3.467 GB, free: 39.42 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 postOpt removeSimpleEquations (simulation): time 0.03792/13.43, allocations: 11.82 MB / 3.479 GB, free: 38.55 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/13.43, allocations: 9.438 kB / 3.479 GB, free: 38.55 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005824/13.44, allocations: 0.6498 MB / 3.48 GB, free: 38.55 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/13.44, allocations: 372.3 kB / 3.48 GB, free: 38.53 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005823/13.44, allocations: 78.48 kB / 3.48 GB, free: 38.53 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00733/13.45, allocations: 5.218 MB / 3.485 GB, free: 35.82 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/13.45, allocations: 4.656 kB / 3.485 GB, free: 35.82 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/13.47, allocations: 7.549 MB / 3.493 GB, free: 35.18 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005007/13.47, allocations: 1.193 MB / 3.494 GB, free: 34.82 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001913/13.47, allocations: 69.31 kB / 3.494 GB, free: 34.82 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008134/13.48, allocations: 454.1 kB / 3.494 GB, free: 34.79 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009741/13.48, allocations: 199.6 kB / 3.494 GB, free: 34.79 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005916/13.48, allocations: 145.9 kB / 3.495 GB, free: 34.79 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.00927/13.49, allocations: 3.713 MB / 3.498 GB, free: 34.61 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6.31e-07/13.49, allocations: 0 / 3.498 GB, free: 34.61 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.009839/13.5, allocations: 2.033 MB / 3.5 GB, free: 34.21 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.002684/13.5, allocations: 0.7996 MB / 3.501 GB, free: 34.01 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.01297/13.52, allocations: 5.322 MB / 3.506 GB, free: 32.16 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/13.52, allocations: 6.938 kB / 3.506 GB, free: 32.16 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.006063/13.52, allocations: 2.474 MB / 3.509 GB, free: 31.18 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02759/13.55, allocations: 3.231 MB / 3.512 GB, free: 30.64 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03704/13.59, allocations: 16.02 MB / 3.527 GB, free: 22.95 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009941/13.6, allocations: 4.73 MB / 3.532 GB, free: 21.32 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.01122/13.61, allocations: 1.993 MB / 3.534 GB, free: 21.15 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002988/13.61, allocations: 459.1 kB / 3.534 GB, free: 21.12 MB / 0.6043 GB Notification: Performance of SimCode: time 1.323e-06/13.61, allocations: 0 / 3.534 GB, free: 21.12 MB / 0.6043 GB Notification: Performance of Templates: time 0.7633/14.38, allocations: 116.3 MB / 3.648 GB, free: 59.26 MB / 0.6199 GB