Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001521/0.001521, allocations: 104 kB / 15.6 MB, free: 148 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.001874/0.001874, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9384/0.9384, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 64.41 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1988, allocations: 80.93 MB / 0.5844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3581/0.5569, allocations: 49.29 MB / 0.6325 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01673/0.5737, allocations: 13.78 MB / 0.646 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.5773, allocations: 72.56 kB / 0.646 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002545/0.5799, allocations: 0.8042 MB / 0.6468 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006765/0.5867, allocations: 2.244 MB / 0.649 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.5902, allocations: 1.307 MB / 0.6503 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01767/0.6079, allocations: 19.54 MB / 0.6694 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01373/0.6217, allocations: 9.943 MB / 0.6791 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01781/0.6396, allocations: 6.507 MB / 0.6854 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01459/0.6542, allocations: 5.774 MB / 0.6911 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.004401/0.6586, allocations: 0.8436 MB / 0.6919 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/0.67, allocations: 1.594 MB / 0.6934 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.006235/0.6762, allocations: 2.126 MB / 0.6955 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01806/0.6943, allocations: 4.295 MB / 0.6997 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02688/0.7213, allocations: 11.94 MB / 0.7114 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.7213, allocations: 4 kB / 0.7114 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7214, allocations: 0 / 0.7114 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005165/0.7219, allocations: 0 / 0.7114 GB, free: 11.05 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.02794/0.7499, allocations: 7.734 MB / 0.7189 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.7499, allocations: 12.03 kB / 0.7189 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005679/0.7556, allocations: 0.7813 MB / 0.7197 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01568/0.7714, allocations: 6.057 MB / 0.7256 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000467/0.7719, allocations: 415 kB / 0.726 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002489/0.7744, allocations: 0.5429 MB / 0.7265 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/0.7979, allocations: 8.065 MB / 0.7344 GB, free: 3.074 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003254/0.7982, allocations: 15.78 kB / 0.7344 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002146/0.8004, allocations: 240 kB / 0.7347 GB, free: 2.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.8006, allocations: 167.9 kB / 0.7348 GB, free: 2.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/0.8168, allocations: 6.52 MB / 0.7412 GB, free: 12.13 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.05349/0.8703, allocations: 31.43 MB / 0.7719 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006694/0.8771, allocations: 3.655 MB / 0.7755 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004759/0.8819, allocations: 2.804 MB / 0.7782 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.8831, allocations: 0.8319 MB / 0.779 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.8832, allocations: 72.67 kB / 0.7791 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 7.494e-06/0.8832, allocations: 0 / 0.7791 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01334/0.8966, allocations: 5.77 MB / 0.7847 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.8967, allocations: 77.52 kB / 0.7848 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/0.909, allocations: 5.224 MB / 0.7899 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000797/0.9098, allocations: 81.7 kB / 0.79 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003319/0.9132, allocations: 2.872 MB / 0.7928 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002086/0.9153, allocations: 0.9359 MB / 0.7937 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002166/0.9175, allocations: 0.7113 MB / 0.7944 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.9176, allocations: 309.1 kB / 0.7947 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/0.9206, allocations: 1.674 MB / 0.7963 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003745/0.9244, allocations: 2.932 MB / 0.7992 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006905/0.9313, allocations: 4.962 MB / 0.804 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.86e-05/0.9313, allocations: 12 kB / 0.804 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01038/0.9417, allocations: 5.441 MB / 0.8093 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/0.9418, allocations: 20 kB / 0.8094 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.469e-05/0.9419, allocations: 40 kB / 0.8094 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.943, allocations: 420 kB / 0.8098 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/0.9463, allocations: 0.8657 MB / 0.8106 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006241/0.9525, allocations: 5.715 MB / 0.8162 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005008/0.9576, allocations: 0.5183 MB / 0.8167 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009364/0.9585, allocations: 176 kB / 0.8169 GB, free: 10.93 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.005736/0.9643, allocations: 2.284 MB / 0.8191 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002466/0.9668, allocations: 486.1 kB / 0.8196 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.9768, allocations: 4.182 MB / 0.8237 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.722e-05/0.9769, allocations: 24 kB / 0.8237 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/0.9769, allocations: 4 kB / 0.8237 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006402/0.9833, allocations: 3.637 MB / 0.8273 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02451/1.008, allocations: 10.29 MB / 0.8373 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/1.008, allocations: 7.984 kB / 0.8373 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/1.01, allocations: 0.4954 MB / 0.8378 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009466/1.011, allocations: 377.5 kB / 0.8381 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003847/1.012, allocations: 75.95 kB / 0.8382 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005998/1.018, allocations: 5.649 MB / 0.8437 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.018, allocations: 4 kB / 0.8437 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/1.029, allocations: 6.239 MB / 0.8498 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00363/1.033, allocations: 1.096 MB / 0.8509 GB, free: 7.262 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001867/1.035, allocations: 67.92 kB / 0.851 GB, free: 7.195 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004049/1.039, allocations: 175.5 kB / 0.8511 GB, free: 7.023 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004487/1.039, allocations: 177.6 kB / 0.8513 GB, free: 6.852 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004387/1.04, allocations: 124 kB / 0.8514 GB, free: 6.73 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008649/1.049, allocations: 3.843 MB / 0.8552 GB, free: 2.902 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/1.049, allocations: 0 / 0.8552 GB, free: 2.902 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007266/1.056, allocations: 1.804 MB / 0.8569 GB, free: 1.094 MB / 0.67 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.001734/1.058, allocations: 481.7 kB / 0.8574 GB, free: 0.625 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2786/1.336, allocations: 8.072 MB / 0.8653 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.336, allocations: 8.031 kB / 0.8653 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002362/1.339, allocations: 2.03 MB / 0.8673 GB, free: 202.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01464/1.353, allocations: 3.47 MB / 0.8707 GB, free: 202 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.372, allocations: 12.63 MB / 0.883 GB, free: 196.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004769/1.376, allocations: 4.308 MB / 0.8872 GB, free: 194.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006177/1.383, allocations: 1.848 MB / 0.889 GB, free: 194.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/1.384, allocations: 423 kB / 0.8894 GB, free: 194.6 MB / 0.67 GB Notification: Performance of SimCode: time 2.093e-06/1.384, allocations: 0 / 0.8894 GB, free: 194.6 MB / 0.67 GB Notification: Performance of Templates: time 0.1642/1.548, allocations: 117 MB / 1.004 GB, free: 106.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)