Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006192/0.006192, allocations: 101.1 kB / 15.88 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 197.3 kB / 16.79 MB, free: 6.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7534/0.7534, allocations: 122.9 MB / 413.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 64.7 kB / 0.4904 GB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1981, allocations: 77.94 MB / 0.5665 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4042/0.6023, allocations: 55.63 MB / 0.6209 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02977/0.6321, allocations: 17.92 MB / 0.6384 GB, free: 9.539 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005143/0.6373, allocations: 71.84 kB / 0.6384 GB, free: 9.512 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003434/0.6408, allocations: 0.7227 MB / 0.6392 GB, free: 8.891 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009672/0.6505, allocations: 2.325 MB / 0.6414 GB, free: 7.016 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004659/0.6552, allocations: 1.388 MB / 0.6428 GB, free: 5.945 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02996/0.6852, allocations: 27.82 MB / 0.6699 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.6989, allocations: 8.701 MB / 0.6784 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01366/0.7127, allocations: 5.525 MB / 0.6838 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01247/0.7252, allocations: 6.181 MB / 0.6899 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002704/0.7279, allocations: 472 kB / 0.6903 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007102/0.735, allocations: 1.155 MB / 0.6914 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002838/0.7379, allocations: 1.79 MB / 0.6932 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.008947/0.7468, allocations: 4.121 MB / 0.6972 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.762, allocations: 12.65 MB / 0.7096 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7621, allocations: 0 / 0.7096 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7621, allocations: 4 kB / 0.7096 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004291/0.7625, allocations: 0 / 0.7096 GB, free: 5.543 MB / 0.5294 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.02316/0.7857, allocations: 8.491 MB / 0.7179 GB, free: 12.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.7857, allocations: 15.97 kB / 0.7179 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/0.789, allocations: 0.8508 MB / 0.7187 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.8021, allocations: 6.618 MB / 0.7252 GB, free: 5.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003826/0.8025, allocations: 460.6 kB / 0.7256 GB, free: 4.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001761/0.8043, allocations: 0.5975 MB / 0.7262 GB, free: 4.355 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02292/0.8272, allocations: 9.036 MB / 0.735 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/0.8274, allocations: 15.88 kB / 0.735 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008661/0.8283, allocations: 256 kB / 0.7353 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/0.8285, allocations: 180 kB / 0.7355 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.8442, allocations: 7.457 MB / 0.7427 GB, free: 3.09 MB / 0.5606 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.06248/0.9068, allocations: 35.92 MB / 0.7778 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008117/0.9149, allocations: 4.275 MB / 0.782 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005886/0.9209, allocations: 3.308 MB / 0.7852 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/0.9225, allocations: 0.9583 MB / 0.7862 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005759/0.9283, allocations: 2.39 MB / 0.7885 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004192/0.9325, allocations: 443.8 kB / 0.7889 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=317): time 1.993e-05/0.9325, allocations: 4 kB / 0.7889 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=317): time 0.0166/0.9492, allocations: 7.086 MB / 0.7958 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.9493, allocations: 89.84 kB / 0.7959 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/0.9612, allocations: 5.471 MB / 0.8013 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0009654/0.9622, allocations: 85.7 kB / 0.8013 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.004126/0.9663, allocations: 3.196 MB / 0.8045 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002054/0.9684, allocations: 1.117 MB / 0.8056 GB, free: 336 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003463/0.9719, allocations: 0.8543 MB / 0.8064 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9721, allocations: 305.1 kB / 0.8067 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004494/0.9766, allocations: 2.156 MB / 0.8088 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005556/0.9822, allocations: 3.681 MB / 0.8124 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.9924, allocations: 6.307 MB / 0.8185 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-05/0.9925, allocations: 16 kB / 0.8186 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.377/1.369, allocations: 6.748 MB / 0.8251 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.578e-05/1.37, allocations: 53.41 kB / 0.8252 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.611e-05/1.37, allocations: 48.97 kB / 0.8252 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/1.371, allocations: 436.6 kB / 0.8257 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/1.375, allocations: 1.001 MB / 0.8266 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005876/1.381, allocations: 5.265 MB / 0.8318 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006342/1.387, allocations: 463.8 kB / 0.8322 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008618/1.388, allocations: 216.5 kB / 0.8324 GB, free: 200.4 MB / 0.6387 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006381/1.394, allocations: 2.48 MB / 0.8349 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002111/1.396, allocations: 0.5329 MB / 0.8354 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009866/1.406, allocations: 5.242 MB / 0.8405 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.015e-05/1.406, allocations: 35.11 kB / 0.8405 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.406, allocations: 5.094 kB / 0.8405 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007001/1.413, allocations: 4.524 MB / 0.8449 GB, free: 195.6 MB / 0.6387 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.02258/1.436, allocations: 11.96 MB / 0.8566 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/1.436, allocations: 0.9062 kB / 0.8566 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/1.439, allocations: 0.647 MB / 0.8573 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007521/1.439, allocations: 376.1 kB / 0.8576 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/1.44, allocations: 83.66 kB / 0.8577 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004152/1.444, allocations: 5.189 MB / 0.8628 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.444, allocations: 6.594 kB / 0.8628 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.454, allocations: 7.609 MB / 0.8702 GB, free: 182.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004916/1.459, allocations: 1.135 MB / 0.8713 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001909/1.461, allocations: 67.98 kB / 0.8714 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004871/1.466, allocations: 463.1 kB / 0.8718 GB, free: 181.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004444/1.467, allocations: 202.1 kB / 0.872 GB, free: 181 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004116/1.467, allocations: 143.7 kB / 0.8721 GB, free: 180.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00776/1.475, allocations: 3.807 MB / 0.8759 GB, free: 177 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.4e-07/1.475, allocations: 0 / 0.8759 GB, free: 177 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007709/1.483, allocations: 1.983 MB / 0.8778 GB, free: 175.1 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/1.484, allocations: 491.5 kB / 0.8783 GB, free: 174.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00793/1.492, allocations: 5.363 MB / 0.8835 GB, free: 169.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.492, allocations: 6.969 kB / 0.8835 GB, free: 169.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003353/1.495, allocations: 2.509 MB / 0.886 GB, free: 166.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01717/1.513, allocations: 3.228 MB / 0.8891 GB, free: 163.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/1.537, allocations: 16.46 MB / 0.9052 GB, free: 147.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003703/1.541, allocations: 4.631 MB / 0.9097 GB, free: 142.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006663/1.548, allocations: 1.983 MB / 0.9117 GB, free: 140.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/1.549, allocations: 459.2 kB / 0.9121 GB, free: 140.1 MB / 0.6387 GB Notification: Performance of SimCode: time 8.62e-07/1.549, allocations: 0 / 0.9121 GB, free: 140.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.1702/1.719, allocations: 116 MB / 1.025 GB, free: 25.12 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)