Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009016/0.0009017, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008512/0.008512, allocations: 171.8 kB / 16.27 MB, free: 6.371 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7604/0.7604, allocations: 132.4 MB / 423.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003761, allocations: 9.875 kB / 0.504 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.5653, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05235/0.6177, allocations: 47.97 MB / 0.6305 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02213/0.6399, allocations: 13.65 MB / 0.6438 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003769/0.6437, allocations: 59.62 kB / 0.6439 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.6468, allocations: 0.6525 MB / 0.6445 GB, free: 1.91 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008601/0.6554, allocations: 2.092 MB / 0.6466 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004295/0.6598, allocations: 1.187 MB / 0.6477 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02661/0.6864, allocations: 25.59 MB / 0.6727 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.6982, allocations: 7.856 MB / 0.6804 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0111/0.7093, allocations: 4.711 MB / 0.685 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/0.7198, allocations: 5.227 MB / 0.6901 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002209/0.722, allocations: 300 kB / 0.6904 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007206/0.7292, allocations: 0.9944 MB / 0.6914 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003781/0.7331, allocations: 1.424 MB / 0.6927 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.009711/0.7428, allocations: 3.543 MB / 0.6962 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0164/0.7592, allocations: 11.26 MB / 0.7072 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.7593, allocations: 0 / 0.7072 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7593, allocations: 0 / 0.7072 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004534/0.7598, allocations: 3.938 kB / 0.7072 GB, free: 1.453 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01819/0.778, allocations: 6.225 MB / 0.7133 GB, free: 11.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.778, allocations: 11.97 kB / 0.7133 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004813/0.7828, allocations: 0.7852 MB / 0.7141 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.013/0.7959, allocations: 6.248 MB / 0.7202 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000485/0.7964, allocations: 415 kB / 0.7206 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002638/0.7991, allocations: 0.539 MB / 0.7211 GB, free: 3.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0206/0.8197, allocations: 8.065 MB / 0.729 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001666/0.8199, allocations: 19.86 kB / 0.729 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008547/0.8208, allocations: 236 kB / 0.7292 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001839/0.821, allocations: 171.9 kB / 0.7294 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.8347, allocations: 6.52 MB / 0.7357 GB, free: 3.84 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.05135/0.8861, allocations: 31.17 MB / 0.7662 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007341/0.8935, allocations: 3.659 MB / 0.7697 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005062/0.8986, allocations: 2.823 MB / 0.7725 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.8997, allocations: 0.8319 MB / 0.7733 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.8998, allocations: 76.67 kB / 0.7734 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 6.172e-06/0.8998, allocations: 0 / 0.7734 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.01327/0.9131, allocations: 5.782 MB / 0.779 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.9132, allocations: 81.5 kB / 0.7791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/0.9242, allocations: 5.021 MB / 0.784 GB, free: 272 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0007992/0.925, allocations: 85.7 kB / 0.7841 GB, free: 180 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003099/0.9281, allocations: 2.868 MB / 0.7869 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001717/0.9298, allocations: 0.932 MB / 0.7878 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.9309, allocations: 309.6 kB / 0.7881 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.931, allocations: 305.1 kB / 0.7884 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003309/0.9343, allocations: 1.674 MB / 0.79 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003883/0.9382, allocations: 2.936 MB / 0.7929 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006773/0.945, allocations: 4.962 MB / 0.7977 GB, free: 1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.535e-05/0.9451, allocations: 11.94 kB / 0.7978 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01037/0.9555, allocations: 5.441 MB / 0.8031 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/0.9556, allocations: 21 kB / 0.8031 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.886e-05/0.9556, allocations: 43.94 kB / 0.8031 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009823/0.9566, allocations: 417.3 kB / 0.8035 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/0.9598, allocations: 0.858 MB / 0.8044 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005517/0.9653, allocations: 5.27 MB / 0.8095 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005626/0.971, allocations: 0.6471 MB / 0.8101 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007042/0.9717, allocations: 183.9 kB / 0.8103 GB, free: 3.789 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.005222/0.9769, allocations: 2.282 MB / 0.8125 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/0.9787, allocations: 486.2 kB / 0.813 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4292/1.408, allocations: 4.175 MB / 0.8171 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-05/1.408, allocations: 30.97 kB / 0.8171 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.408, allocations: 4.875 kB / 0.8171 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005668/1.414, allocations: 3.634 MB / 0.8207 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/1.436, allocations: 10.21 MB / 0.8306 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.436, allocations: 4.5 kB / 0.8306 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002138/1.438, allocations: 0.4972 MB / 0.8311 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009187/1.439, allocations: 377.1 kB / 0.8315 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/1.44, allocations: 79.19 kB / 0.8316 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004946/1.444, allocations: 5.199 MB / 0.8366 GB, free: 191.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/1.445, allocations: 9.562 kB / 0.8367 GB, free: 191.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009902/1.454, allocations: 6.247 MB / 0.8428 GB, free: 188.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002602/1.457, allocations: 1.177 MB / 0.8439 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005824/1.458, allocations: 63.02 kB / 0.844 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/1.46, allocations: 334.1 kB / 0.8443 GB, free: 187.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/1.461, allocations: 176 kB / 0.8444 GB, free: 187.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/1.461, allocations: 126 kB / 0.8446 GB, free: 187.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005228/1.466, allocations: 3.685 MB / 0.8482 GB, free: 185.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.11e-07/1.466, allocations: 0 / 0.8482 GB, free: 185.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006063/1.472, allocations: 1.783 MB / 0.8499 GB, free: 185.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001249/1.474, allocations: 480.9 kB / 0.8504 GB, free: 185.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005445/1.479, allocations: 4.262 MB / 0.8545 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.479, allocations: 0 / 0.8545 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002209/1.481, allocations: 2.04 MB / 0.8565 GB, free: 180.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02042/1.502, allocations: 3.278 MB / 0.8597 GB, free: 177 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/1.524, allocations: 15.12 MB / 0.8745 GB, free: 161.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003693/1.528, allocations: 4.303 MB / 0.8787 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.007075/1.535, allocations: 1.845 MB / 0.8805 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/1.537, allocations: 416.6 kB / 0.8809 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of SimCode: time 2.725e-06/1.537, allocations: 0 / 0.8809 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.1772/1.714, allocations: 110.1 MB / 0.9884 GB, free: 46.22 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)