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.001144/0.001144, allocations: 101.8 kB / 16.27 MB, free: 6.414 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.00109/0.00109, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7648/0.7648, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 67.89 kB / 0.4911 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4337, allocations: 77.93 MB / 0.5672 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05167/0.4855, allocations: 55.97 MB / 0.6219 GB, free: 2.723 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02931/0.5148, allocations: 17.95 MB / 0.6394 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004726/0.5196, allocations: 75.56 kB / 0.6394 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.5239, allocations: 0.9002 MB / 0.6403 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.534, allocations: 2.508 MB / 0.6428 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005951/0.54, allocations: 1.522 MB / 0.6443 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02309/0.5631, allocations: 21.25 MB / 0.665 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0168/0.5799, allocations: 10.68 MB / 0.6755 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01662/0.5966, allocations: 7.133 MB / 0.6824 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0126/0.6093, allocations: 6.366 MB / 0.6886 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00371/0.613, allocations: 0.9375 MB / 0.6895 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008622/0.6217, allocations: 1.694 MB / 0.6912 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005332/0.6271, allocations: 2.333 MB / 0.6935 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01228/0.6394, allocations: 4.715 MB / 0.6981 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.02036/0.6597, allocations: 13.03 MB / 0.7108 GB, free: 7.336 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.6598, allocations: 0 / 0.7108 GB, free: 7.336 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6598, allocations: 4 kB / 0.7108 GB, free: 7.332 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005426/0.6604, allocations: 0 / 0.7108 GB, free: 7.332 MB / 0.545 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.02763/0.688, allocations: 8.51 MB / 0.7191 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.6881, allocations: 8.625 kB / 0.7191 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005654/0.6938, allocations: 0.8625 MB / 0.72 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01678/0.7106, allocations: 6.429 MB / 0.7263 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005515/0.7112, allocations: 468.3 kB / 0.7267 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00281/0.714, allocations: 0.5898 MB / 0.7273 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02536/0.7394, allocations: 9.028 MB / 0.7361 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002377/0.7396, allocations: 23.78 kB / 0.7361 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001807/0.7415, allocations: 264 kB / 0.7364 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/0.7417, allocations: 179.9 kB / 0.7365 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/0.7604, allocations: 7.445 MB / 0.7438 GB, free: 5.043 MB / 0.5762 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.6594/1.42, allocations: 36.25 MB / 0.7792 GB, free: 130.6 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006986/1.427, allocations: 4.279 MB / 0.7834 GB, free: 128.4 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005268/1.432, allocations: 3.323 MB / 0.7866 GB, free: 126.8 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/1.433, allocations: 0.9496 MB / 0.7876 GB, free: 125.8 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003452/1.437, allocations: 2.388 MB / 0.7899 GB, free: 124.4 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003226/1.44, allocations: 371.7 kB / 0.7903 GB, free: 124.2 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=317): time 1.294e-05/1.44, allocations: 0 / 0.7903 GB, free: 124.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=317): time 0.01226/1.452, allocations: 7.136 MB / 0.7972 GB, free: 120.5 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/1.452, allocations: 94.5 kB / 0.7973 GB, free: 120.4 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008061/1.461, allocations: 5.666 MB / 0.8028 GB, free: 116.9 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008816/1.461, allocations: 85.7 kB / 0.8029 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002807/1.464, allocations: 3.191 MB / 0.806 GB, free: 113.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001641/1.466, allocations: 1.113 MB / 0.8071 GB, free: 112.5 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/1.467, allocations: 0.8542 MB / 0.808 GB, free: 111.6 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 7.125e-05/1.467, allocations: 305.1 kB / 0.8083 GB, free: 111.3 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/1.47, allocations: 2.163 MB / 0.8104 GB, free: 109.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/1.473, allocations: 3.692 MB / 0.814 GB, free: 104.8 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006267/1.48, allocations: 6.326 MB / 0.8202 GB, free: 97.75 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.173e-05/1.48, allocations: 12 kB / 0.8202 GB, free: 97.74 MB / 0.5763 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009907/1.49, allocations: 6.791 MB / 0.8268 GB, free: 90.9 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/1.49, allocations: 53.7 kB / 0.8268 GB, free: 90.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.607e-05/1.49, allocations: 48 kB / 0.8269 GB, free: 90.79 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008821/1.491, allocations: 429.8 kB / 0.8273 GB, free: 90.37 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/1.494, allocations: 1.01 MB / 0.8283 GB, free: 89.36 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004298/1.498, allocations: 5.708 MB / 0.8339 GB, free: 83.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005514/1.504, allocations: 279.5 kB / 0.8341 GB, free: 83.11 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000615/1.504, allocations: 216 kB / 0.8343 GB, free: 82.9 MB / 0.5763 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.004688/1.509, allocations: 2.49 MB / 0.8368 GB, free: 80.4 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001818/1.511, allocations: 0.5248 MB / 0.8373 GB, free: 79.87 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007469/1.518, allocations: 5.27 MB / 0.8424 GB, free: 74.55 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/1.518, allocations: 36 kB / 0.8425 GB, free: 74.52 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.518, allocations: 4 kB / 0.8425 GB, free: 74.51 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005136/1.524, allocations: 4.529 MB / 0.8469 GB, free: 69.88 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02055/1.544, allocations: 12.04 MB / 0.8586 GB, free: 57.74 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.544, allocations: 0 / 0.8586 GB, free: 57.74 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/1.547, allocations: 0.6438 MB / 0.8593 GB, free: 57.09 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007336/1.547, allocations: 377.2 kB / 0.8596 GB, free: 56.72 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/1.548, allocations: 83.95 kB / 0.8597 GB, free: 56.64 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/1.552, allocations: 5.618 MB / 0.8652 GB, free: 50.76 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.552, allocations: 7.938 kB / 0.8652 GB, free: 50.75 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/1.563, allocations: 7.757 MB / 0.8728 GB, free: 42.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002753/1.565, allocations: 1.159 MB / 0.8739 GB, free: 41.71 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/1.566, allocations: 68.36 kB / 0.874 GB, free: 41.65 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003114/1.57, allocations: 194.8 kB / 0.8742 GB, free: 41.46 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003981/1.57, allocations: 198.2 kB / 0.8744 GB, free: 41.27 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000279/1.57, allocations: 147.8 kB / 0.8745 GB, free: 41.12 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005621/1.576, allocations: 3.959 MB / 0.8784 GB, free: 37.18 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.7e-07/1.576, allocations: 0 / 0.8784 GB, free: 37.18 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006917/1.583, allocations: 2.009 MB / 0.8803 GB, free: 35.19 MB / 0.5763 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.001429/1.584, allocations: 499.9 kB / 0.8808 GB, free: 34.74 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01964/1.604, allocations: 11.63 MB / 0.8922 GB, free: 23.09 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.604, allocations: 4 kB / 0.8922 GB, free: 23.09 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003481/1.607, allocations: 2.542 MB / 0.8946 GB, free: 20.52 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01745/1.625, allocations: 3.4 MB / 0.898 GB, free: 17.29 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/1.645, allocations: 14.04 MB / 0.9117 GB, free: 3.211 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003868/1.649, allocations: 4.636 MB / 0.9162 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00717/1.656, allocations: 2.087 MB / 0.9182 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/1.657, allocations: 459.3 kB / 0.9187 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/1.657, allocations: 4 kB / 0.9187 GB, free: 12 MB / 0.5919 GB Notification: Performance of Templates: time 0.4962/2.154, allocations: 122 MB / 1.038 GB, free: 189.7 MB / 0.6544 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)