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.00652/0.00652, allocations: 101.1 kB / 15.88 MB, free: 6.305 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.001386/0.001386, allocations: 195.5 kB / 16.79 MB, free: 6.234 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9538/0.9538, allocations: 135.1 MB / 425.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.001409, allocations: 64.23 kB / 0.5053 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1729, allocations: 80.92 MB / 0.5843 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3551/0.528, allocations: 48.97 MB / 0.6322 GB, free: 26.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.5436, allocations: 13.81 MB / 0.6456 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.5468, allocations: 63.09 kB / 0.6457 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.5492, allocations: 0.6422 MB / 0.6463 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006053/0.5553, allocations: 2.09 MB / 0.6484 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.5584, allocations: 1.191 MB / 0.6495 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02483/0.5832, allocations: 25.59 MB / 0.6745 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01989/0.6032, allocations: 8.122 MB / 0.6825 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01675/0.62, allocations: 5.02 MB / 0.6874 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01568/0.6357, allocations: 5.597 MB / 0.6928 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002624/0.6384, allocations: 426 kB / 0.6932 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007404/0.6458, allocations: 1.1 MB / 0.6943 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004006/0.6498, allocations: 1.628 MB / 0.6959 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.009924/0.6598, allocations: 3.744 MB / 0.6995 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.6723, allocations: 9.75 MB / 0.7091 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.6724, allocations: 0 / 0.7091 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6724, allocations: 0 / 0.7091 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000463/0.6729, allocations: 4 kB / 0.7091 GB, free: 13.8 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.02127/0.6941, allocations: 7.719 MB / 0.7166 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6942, allocations: 8.031 kB / 0.7166 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003918/0.6981, allocations: 0.7852 MB / 0.7174 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/0.7136, allocations: 6.246 MB / 0.7235 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005955/0.7143, allocations: 427 kB / 0.7239 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002797/0.7171, allocations: 0.5351 MB / 0.7244 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.7354, allocations: 8.065 MB / 0.7323 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.7356, allocations: 19.86 kB / 0.7323 GB, free: 5.625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009443/0.7366, allocations: 236 kB / 0.7325 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/0.7368, allocations: 160 kB / 0.7327 GB, free: 5.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.7507, allocations: 6.528 MB / 0.7391 GB, free: 14.7 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.04807/0.7989, allocations: 31.11 MB / 0.7694 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006237/0.8051, allocations: 3.656 MB / 0.773 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004183/0.8094, allocations: 2.807 MB / 0.7758 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.8105, allocations: 0.828 MB / 0.7766 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.179e-05/0.8106, allocations: 80.61 kB / 0.7766 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 4.879e-06/0.8106, allocations: 0 / 0.7766 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01217/0.8228, allocations: 5.766 MB / 0.7823 GB, free: 348 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.8229, allocations: 77.52 kB / 0.7823 GB, free: 256 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009556/0.8324, allocations: 5.036 MB / 0.7873 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008417/0.8333, allocations: 81.7 kB / 0.7873 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002916/0.8363, allocations: 2.856 MB / 0.7901 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001749/0.838, allocations: 0.9398 MB / 0.791 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.8393, allocations: 0.7229 MB / 0.7918 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.8394, allocations: 305.1 kB / 0.792 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002756/0.8422, allocations: 1.67 MB / 0.7937 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003838/0.8461, allocations: 2.936 MB / 0.7965 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006959/0.853, allocations: 4.962 MB / 0.8014 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.16e-05/0.8531, allocations: 16 kB / 0.8014 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01091/0.864, allocations: 5.434 MB / 0.8067 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.8641, allocations: 24 kB / 0.8067 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.345e-05/0.8642, allocations: 44.16 kB / 0.8068 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.8653, allocations: 424.4 kB / 0.8072 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00328/0.8686, allocations: 0.858 MB / 0.808 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.8743, allocations: 5.246 MB / 0.8131 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005381/0.8797, allocations: 0.6471 MB / 0.8138 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000714/0.8805, allocations: 180 kB / 0.8139 GB, free: 14.35 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.004995/0.8855, allocations: 2.288 MB / 0.8162 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001926/0.8874, allocations: 490.1 kB / 0.8166 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007512/0.8949, allocations: 4.171 MB / 0.8207 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.245e-05/0.895, allocations: 39.91 kB / 0.8208 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.895, allocations: 4 kB / 0.8208 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005423/0.9005, allocations: 3.633 MB / 0.8243 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/0.9222, allocations: 10.2 MB / 0.8343 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.9223, allocations: 7.938 kB / 0.8343 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/0.9244, allocations: 0.4995 MB / 0.8348 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008974/0.9253, allocations: 377.3 kB / 0.8351 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/0.9256, allocations: 75.91 kB / 0.8352 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005448/0.931, allocations: 5.208 MB / 0.8403 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.9311, allocations: 7.938 kB / 0.8403 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/0.9413, allocations: 6.247 MB / 0.8464 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003575/0.9449, allocations: 1.076 MB / 0.8474 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/0.9465, allocations: 63.98 kB / 0.8475 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004164/0.9507, allocations: 335.1 kB / 0.8478 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004453/0.9512, allocations: 173.6 kB / 0.848 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00048/0.9516, allocations: 131.9 kB / 0.8481 GB, free: 10.53 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008344/0.96, allocations: 3.687 MB / 0.8517 GB, free: 6.855 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.41e-07/0.96, allocations: 0 / 0.8517 GB, free: 6.855 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008369/0.9684, allocations: 1.785 MB / 0.8535 GB, free: 5.066 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.001921/0.9704, allocations: 463.3 kB / 0.8539 GB, free: 4.613 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008977/0.9794, allocations: 4.264 MB / 0.8581 GB, free: 316 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/0.9794, allocations: 4 kB / 0.8581 GB, free: 312 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.2752/1.255, allocations: 2.031 MB / 0.8601 GB, free: 202.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01603/1.271, allocations: 3.277 MB / 0.8633 GB, free: 202.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/1.291, allocations: 14.94 MB / 0.8778 GB, free: 195.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003407/1.294, allocations: 4.243 MB / 0.882 GB, free: 193.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/1.296, allocations: 437.5 kB / 0.8824 GB, free: 193.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.202e-06/1.296, allocations: 0 / 0.8824 GB, free: 193.6 MB / 0.67 GB Notification: Performance of Templates: time 0.2094/1.506, allocations: 172.5 MB / 1.051 GB, free: 56.98 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)