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.0007967/0.0007969, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008268/0.0008268, allocations: 179.2 kB / 16.91 MB, free: 6.641 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6782/0.6782, allocations: 115.5 MB / 407.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 12.92 kB / 495.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.166, allocations: 77.54 MB / 0.56 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.404/0.57, allocations: 54.52 MB / 0.6132 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02524/0.5953, allocations: 17.72 MB / 0.6305 GB, free: 6.918 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004232/0.5995, allocations: 64.91 kB / 0.6306 GB, free: 6.895 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.6029, allocations: 0.7256 MB / 0.6313 GB, free: 6.465 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008993/0.6119, allocations: 2.324 MB / 0.6335 GB, free: 4.934 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004201/0.6162, allocations: 1.388 MB / 0.6349 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0284/0.6446, allocations: 27.82 MB / 0.6621 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01244/0.6571, allocations: 8.418 MB / 0.6703 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01155/0.6687, allocations: 5.205 MB / 0.6754 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.6798, allocations: 5.787 MB / 0.681 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002025/0.6819, allocations: 344 kB / 0.6813 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005899/0.6878, allocations: 1.033 MB / 0.6824 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003143/0.691, allocations: 1.591 MB / 0.6839 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.008534/0.6996, allocations: 3.893 MB / 0.6877 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.715, allocations: 12.31 MB / 0.6997 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.715, allocations: 0 / 0.6997 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.465e-06/0.715, allocations: 0 / 0.6997 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000368/0.7154, allocations: 0 / 0.6997 GB, free: 7.566 MB / 0.5137 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.01685/0.7323, allocations: 6.887 MB / 0.7065 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.7323, allocations: 8.031 kB / 0.7065 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004094/0.7364, allocations: 0.8548 MB / 0.7073 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/0.7506, allocations: 6.618 MB / 0.7138 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004879/0.7511, allocations: 464.6 kB / 0.7142 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001986/0.7531, allocations: 0.5936 MB / 0.7148 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/0.7715, allocations: 9.032 MB / 0.7236 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/0.7717, allocations: 23.78 kB / 0.7236 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006867/0.7724, allocations: 260 kB / 0.7239 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001788/0.7726, allocations: 187.9 kB / 0.7241 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.787, allocations: 7.461 MB / 0.7313 GB, free: 6.699 MB / 0.545 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.05567/0.8427, allocations: 35.99 MB / 0.7665 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007026/0.8498, allocations: 4.29 MB / 0.7707 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005027/0.8548, allocations: 3.324 MB / 0.7739 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.8562, allocations: 0.9817 MB / 0.7749 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004039/0.8603, allocations: 2.39 MB / 0.7772 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003227/0.8635, allocations: 455.7 kB / 0.7776 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=317): time 9.298e-06/0.8636, allocations: 0 / 0.7776 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=317): time 0.0136/0.8772, allocations: 7.14 MB / 0.7846 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.8773, allocations: 81.91 kB / 0.7847 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00941/0.8867, allocations: 5.471 MB / 0.79 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0009375/0.8877, allocations: 85.7 kB / 0.7901 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003505/0.8912, allocations: 3.196 MB / 0.7932 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001931/0.8931, allocations: 1.117 MB / 0.7943 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005312/0.8937, allocations: 367.3 kB / 0.7947 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8938, allocations: 305.1 kB / 0.795 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00362/0.8974, allocations: 2.16 MB / 0.7971 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005121/0.9026, allocations: 3.697 MB / 0.8007 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008961/0.9116, allocations: 6.303 MB / 0.8068 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.733e-05/0.9116, allocations: 12 kB / 0.8069 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01269/0.9243, allocations: 6.767 MB / 0.8135 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.936e-05/0.9244, allocations: 53.7 kB / 0.8135 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-05/0.9245, allocations: 48 kB / 0.8136 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.9256, allocations: 440.1 kB / 0.814 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003891/0.9295, allocations: 1.014 MB / 0.815 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/0.9353, allocations: 5.259 MB / 0.8201 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006093/0.9414, allocations: 470.6 kB / 0.8206 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008177/0.9423, allocations: 212 kB / 0.8208 GB, free: 6.922 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.005124/0.9474, allocations: 2.49 MB / 0.8232 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/0.949, allocations: 0.5287 MB / 0.8237 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.552/1.501, allocations: 5.246 MB / 0.8288 GB, free: 212.8 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.419e-05/1.501, allocations: 31.62 kB / 0.8289 GB, free: 212.8 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.043e-05/1.501, allocations: 4.469 kB / 0.8289 GB, free: 212.8 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009412/1.511, allocations: 4.536 MB / 0.8333 GB, free: 211.7 MB / 0.6388 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.02683/1.537, allocations: 11.98 MB / 0.845 GB, free: 207.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/1.538, allocations: 1.094 kB / 0.845 GB, free: 207.1 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/1.54, allocations: 0.6512 MB / 0.8456 GB, free: 207 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008675/1.541, allocations: 376.4 kB / 0.846 GB, free: 207 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/1.541, allocations: 89.12 kB / 0.8461 GB, free: 206.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004707/1.546, allocations: 5.18 MB / 0.8511 GB, free: 203.2 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.546, allocations: 1.844 kB / 0.8511 GB, free: 203.2 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.558, allocations: 7.627 MB / 0.8586 GB, free: 200.4 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003807/1.562, allocations: 1.214 MB / 0.8598 GB, free: 200 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/1.564, allocations: 71.56 kB / 0.8598 GB, free: 199.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004816/1.568, allocations: 476.2 kB / 0.8603 GB, free: 199.9 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/1.569, allocations: 196 kB / 0.8605 GB, free: 199.9 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003357/1.569, allocations: 140.4 kB / 0.8606 GB, free: 199.8 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.006367/1.576, allocations: 3.806 MB / 0.8643 GB, free: 198.4 MB / 0.6388 GB Notification: Performance of sort global known variables: time 3.6e-07/1.576, allocations: 0 / 0.8643 GB, free: 198.4 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.008789/1.584, allocations: 1.988 MB / 0.8663 GB, free: 198.1 MB / 0.6388 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.001839/1.586, allocations: 485.3 kB / 0.8667 GB, free: 197.9 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.008329/1.595, allocations: 5.39 MB / 0.872 GB, free: 195.1 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/1.595, allocations: 3.844 kB / 0.872 GB, free: 195.1 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.003786/1.599, allocations: 2.512 MB / 0.8745 GB, free: 193.7 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01821/1.617, allocations: 3.229 MB / 0.8776 GB, free: 190.7 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.637, allocations: 16.68 MB / 0.8939 GB, free: 174 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003413/1.641, allocations: 4.639 MB / 0.8984 GB, free: 169.4 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.005993/1.647, allocations: 1.987 MB / 0.9004 GB, free: 167.4 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.648, allocations: 459.2 kB / 0.9008 GB, free: 166.9 MB / 0.6388 GB Notification: Performance of SimCode: time 1.263e-06/1.648, allocations: 4 kB / 0.9008 GB, free: 166.9 MB / 0.6388 GB Notification: Performance of Templates: time 0.1565/1.804, allocations: 114.9 MB / 1.013 GB, free: 52.95 MB / 0.6388 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)