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.0009386/0.0009385, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.006693/0.006693, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9621/0.9621, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 12 kB / 0.5076 GB, free: 4.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1818, allocations: 82.31 MB / 0.588 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.5163/0.6982, allocations: 47.95 MB / 0.6348 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01706/0.7153, allocations: 13.65 MB / 0.6481 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.7181, allocations: 63.25 kB / 0.6482 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.7199, allocations: 0.6486 MB / 0.6488 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005931/0.7258, allocations: 2.085 MB / 0.6509 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.7292, allocations: 1.186 MB / 0.652 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02874/0.7579, allocations: 25.6 MB / 0.677 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01379/0.7718, allocations: 7.853 MB / 0.6847 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01435/0.7862, allocations: 4.703 MB / 0.6893 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01545/0.8017, allocations: 5.23 MB / 0.6944 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.003595/0.8053, allocations: 304.3 kB / 0.6947 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009373/0.8147, allocations: 0.9867 MB / 0.6956 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003826/0.8186, allocations: 1.431 MB / 0.697 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01051/0.8291, allocations: 3.531 MB / 0.7005 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01675/0.8459, allocations: 11.27 MB / 0.7115 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.846, allocations: 0 / 0.7115 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.846, allocations: 0 / 0.7115 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004281/0.8464, allocations: 4 kB / 0.7115 GB, free: 13.62 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.01485/0.8613, allocations: 6.233 MB / 0.7176 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.8613, allocations: 8.031 kB / 0.7176 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/0.8654, allocations: 0.7813 MB / 0.7184 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.8793, allocations: 6.244 MB / 0.7245 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000518/0.8799, allocations: 419.1 kB / 0.7249 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002145/0.8821, allocations: 0.535 MB / 0.7254 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02233/0.9044, allocations: 8.076 MB / 0.7333 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003119/0.9048, allocations: 15.88 kB / 0.7333 GB, free: 6.938 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00179/0.9066, allocations: 236 kB / 0.7335 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002344/0.9068, allocations: 164 kB / 0.7337 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.9259, allocations: 6.528 MB / 0.74 GB, free: 8 kB / 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.04998/0.9759, allocations: 31.15 MB / 0.7705 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007004/0.983, allocations: 3.644 MB / 0.774 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0049/0.9879, allocations: 2.831 MB / 0.7768 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.9891, allocations: 0.8436 MB / 0.7776 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.677e-05/0.9892, allocations: 76.67 kB / 0.7777 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 5.58e-06/0.9892, allocations: 0 / 0.7777 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01324/1.002, allocations: 5.79 MB / 0.7833 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/1.003, allocations: 77.52 kB / 0.7834 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01166/1.014, allocations: 5.028 MB / 0.7883 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0007697/1.015, allocations: 81.7 kB / 0.7884 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003233/1.018, allocations: 2.864 MB / 0.7912 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002107/1.02, allocations: 0.9359 MB / 0.7921 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009277/1.021, allocations: 309.6 kB / 0.7924 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/1.022, allocations: 309.1 kB / 0.7927 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003438/1.025, allocations: 1.67 MB / 0.7943 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004425/1.029, allocations: 2.928 MB / 0.7972 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007819/1.037, allocations: 4.978 MB / 0.802 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-05/1.037, allocations: 8 kB / 0.8021 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01285/1.05, allocations: 5.433 MB / 0.8074 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.448e-05/1.05, allocations: 23.98 kB / 0.8074 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-05/1.05, allocations: 40 kB / 0.8074 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/1.052, allocations: 425.6 kB / 0.8078 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003674/1.055, allocations: 0.858 MB / 0.8087 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006167/1.062, allocations: 5.248 MB / 0.8138 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005855/1.067, allocations: 0.6393 MB / 0.8144 GB, free: 184 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008505/1.068, allocations: 184 kB / 0.8146 GB, free: 0 / 0.6231 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.005729/1.074, allocations: 2.288 MB / 0.8168 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001989/1.076, allocations: 490.2 kB / 0.8173 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/1.087, allocations: 4.18 MB / 0.8214 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.142e-05/1.087, allocations: 31.94 kB / 0.8214 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.494e-05/1.087, allocations: 7.984 kB / 0.8214 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006434/1.093, allocations: 3.629 MB / 0.825 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02726/1.121, allocations: 10.21 MB / 0.8349 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/1.121, allocations: 7.938 kB / 0.8349 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/1.123, allocations: 0.4998 MB / 0.8354 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009916/1.124, allocations: 375.9 kB / 0.8358 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004574/1.125, allocations: 75.95 kB / 0.8359 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006175/1.131, allocations: 5.208 MB / 0.8409 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/1.131, allocations: 12 kB / 0.841 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.144, allocations: 6.235 MB / 0.847 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004492/1.148, allocations: 1.174 MB / 0.8482 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001918/1.15, allocations: 63.98 kB / 0.8482 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004675/1.155, allocations: 333.7 kB / 0.8486 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005724/1.155, allocations: 173.6 kB / 0.8487 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005192/1.156, allocations: 127.9 kB / 0.8489 GB, free: 12.08 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008607/1.165, allocations: 3.683 MB / 0.8525 GB, free: 8.414 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.11e-07/1.165, allocations: 0 / 0.8525 GB, free: 8.414 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008327/1.173, allocations: 1.777 MB / 0.8542 GB, free: 6.633 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.00199/1.175, allocations: 481 kB / 0.8546 GB, free: 6.168 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008972/1.184, allocations: 4.262 MB / 0.8588 GB, free: 1.871 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.184, allocations: 0 / 0.8588 GB, free: 1.871 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.3368/1.521, allocations: 2.039 MB / 0.8608 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02074/1.542, allocations: 3.277 MB / 0.864 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02167/1.563, allocations: 15.11 MB / 0.8788 GB, free: 192.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004038/1.567, allocations: 4.309 MB / 0.883 GB, free: 191.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006482/1.574, allocations: 1.843 MB / 0.8848 GB, free: 190.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/1.576, allocations: 415.9 kB / 0.8852 GB, free: 190.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.694e-06/1.576, allocations: 0 / 0.8852 GB, free: 190.9 MB / 0.67 GB Notification: Performance of Templates: time 0.1683/1.744, allocations: 110.1 MB / 0.9927 GB, free: 117.4 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)