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.001509/0.001509, allocations: 186.6 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.78/0.78, allocations: 82.93 MB / 99.42 MB, free: 3.324 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.042/2.042, allocations: 205.4 MB / 325.4 MB, free: 3.242 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.001073/0.001073, allocations: 90.86 kB / 393.6 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004676, allocations: 12 kB / 471.5 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09126/0.09175, allocations: 67.45 MB / 0.5263 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06982/0.1616, allocations: 46.81 MB / 0.5721 GB, free: 128 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02899/0.1907, allocations: 15.48 MB / 0.5872 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002594/0.1933, allocations: 63.56 kB / 0.5872 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3267/0.52, allocations: 0.8045 MB / 0.588 GB, free: 11.27 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008109/0.5282, allocations: 2.126 MB / 0.5901 GB, free: 11.25 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006115/0.5343, allocations: 1.572 MB / 0.5916 GB, free: 11.22 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01949/0.5538, allocations: 11.35 MB / 0.6027 GB, free: 11.21 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.5676, allocations: 7.158 MB / 0.6097 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01062/0.5783, allocations: 4.479 MB / 0.6141 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008423/0.5867, allocations: 3.853 MB / 0.6178 GB, free: 10.12 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002131/0.5889, allocations: 347.2 kB / 0.6182 GB, free: 10.12 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006812/0.5958, allocations: 0.8364 MB / 0.619 GB, free: 10.12 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003086/0.5989, allocations: 1.462 MB / 0.6204 GB, free: 9.902 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004309/0.6033, allocations: 1.604 MB / 0.622 GB, free: 9.633 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.6164, allocations: 10.24 MB / 0.632 GB, free: 5.055 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.6165, allocations: 0 / 0.632 GB, free: 5.055 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.62e-06/0.6165, allocations: 2.734 kB / 0.632 GB, free: 5.055 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003263/0.6168, allocations: 0 / 0.632 GB, free: 5.055 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01676/0.6336, allocations: 6.904 MB / 0.6387 GB, free: 1.156 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.6336, allocations: 9.406 kB / 0.6387 GB, free: 1.156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004101/0.6377, allocations: 0.8481 MB / 0.6396 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/0.6538, allocations: 5.912 MB / 0.6453 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006201/0.6545, allocations: 459.4 kB / 0.6458 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002164/0.6566, allocations: 0.6015 MB / 0.6464 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02672/0.6834, allocations: 8.937 MB / 0.6551 GB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002922/0.6837, allocations: 17.88 kB / 0.6551 GB, free: 5.441 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001743/0.6855, allocations: 254.9 kB / 0.6554 GB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002845/0.6858, allocations: 181.8 kB / 0.6555 GB, free: 5.211 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02292/0.7088, allocations: 7.42 MB / 0.6628 GB, free: 14.43 MB / 458.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.07295/0.7818, allocations: 36.2 MB / 0.6981 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01425/0.796, allocations: 4.331 MB / 0.7024 GB, free: 4.176 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002746/0.7989, allocations: 0.9895 MB / 0.7033 GB, free: 3.016 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008888/0.8078, allocations: 2.394 MB / 0.7057 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005262/0.8131, allocations: 471.4 kB / 0.7061 GB, free: 124 kB / 490.7 MB Notification: Performance of pre-optimization done (n=317): time 1.977e-05/0.8132, allocations: 0 / 0.7061 GB, free: 124 kB / 490.7 MB Notification: Performance of matching and sorting (n=317): time 0.02608/0.8393, allocations: 7.143 MB / 0.7131 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.787e-05/0.8394, allocations: 85.91 kB / 0.7132 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01342/0.8528, allocations: 5.744 MB / 0.7188 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007143/0.8536, allocations: 89.7 kB / 0.7189 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004769/0.8584, allocations: 3.175 MB / 0.722 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002014/0.8604, allocations: 1.107 MB / 0.723 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/0.8609, allocations: 92 kB / 0.7231 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004761/0.8614, allocations: 491.6 kB / 0.7236 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005663/0.8671, allocations: 2.16 MB / 0.7257 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007553/0.8747, allocations: 3.677 MB / 0.7293 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009345/0.884, allocations: 2.932 MB / 0.7322 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.992e-05/0.8841, allocations: 12 kB / 0.7322 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01879/0.9029, allocations: 6.768 MB / 0.7388 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.9031, allocations: 51.58 kB / 0.7388 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.069e-05/0.9032, allocations: 51.94 kB / 0.7389 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/0.9047, allocations: 442.7 kB / 0.7393 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005684/0.9104, allocations: 1.057 MB / 0.7403 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008968/0.9194, allocations: 5.326 MB / 0.7455 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006915/0.9264, allocations: 490.8 kB / 0.746 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/0.9275, allocations: 212 kB / 0.7462 GB, free: 5.91 MB / 0.5261 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.006784/0.9343, allocations: 2.463 MB / 0.7486 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001705/0.936, allocations: 0.5249 MB / 0.7491 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/0.9508, allocations: 5.274 MB / 0.7543 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.783e-05/0.9509, allocations: 35.98 kB / 0.7543 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/0.9509, allocations: 4 kB / 0.7543 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01181/0.9628, allocations: 4.553 MB / 0.7588 GB, free: 8.875 MB / 0.5417 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.0344/0.9972, allocations: 12.15 MB / 0.7706 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/0.9973, allocations: 4 kB / 0.7706 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007486/1.005, allocations: 0.6204 MB / 0.7712 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/1.007, allocations: 373.4 kB / 0.7716 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001035/1.008, allocations: 83.95 kB / 0.7717 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01597/1.024, allocations: 5.242 MB / 0.7768 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.857e-06/1.024, allocations: 0 / 0.7768 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0359/1.06, allocations: 7.761 MB / 0.7844 GB, free: 14.15 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008433/1.069, allocations: 1.295 MB / 0.7856 GB, free: 12.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003303/1.072, allocations: 67.98 kB / 0.7857 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01158/1.084, allocations: 447.1 kB / 0.7861 GB, free: 12.32 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001717/1.086, allocations: 198.2 kB / 0.7863 GB, free: 12.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009555/1.087, allocations: 143.9 kB / 0.7864 GB, free: 11.99 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01026/1.097, allocations: 4.034 MB / 0.7904 GB, free: 7.977 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.199e-06/1.097, allocations: 0 / 0.7904 GB, free: 7.977 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008901/1.106, allocations: 2.007 MB / 0.7923 GB, free: 5.965 MB / 0.573 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.001766/1.108, allocations: 496.9 kB / 0.7928 GB, free: 5.496 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01388/1.122, allocations: 5.395 MB / 0.7981 GB, free: 52 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.122, allocations: 4 kB / 0.7981 GB, free: 48 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006593/1.128, allocations: 2.518 MB / 0.8006 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01782/1.146, allocations: 3.17 MB / 0.8036 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3509/1.497, allocations: 16.01 MB / 0.8193 GB, free: 208.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008731/1.506, allocations: 4.723 MB / 0.8239 GB, free: 208 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01071/1.517, allocations: 2.074 MB / 0.8259 GB, free: 207.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002398/1.519, allocations: 457.6 kB / 0.8264 GB, free: 207.9 MB / 0.5886 GB Notification: Performance of SimCode: time 2.356e-06/1.519, allocations: 0 / 0.8264 GB, free: 207.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.2163/1.735, allocations: 113.6 MB / 0.9373 GB, free: 118.1 MB / 0.5886 GB