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.001701/0.001701, allocations: 103.6 kB / 16.4 MB, free: 6.434 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.002016/0.002016, allocations: 192.1 kB / 17.34 MB, free: 5.703 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8177/0.8177, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.45 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1711, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05469/0.2258, allocations: 49.29 MB / 0.7085 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02186/0.2478, allocations: 13.8 MB / 0.7219 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003056/0.2509, allocations: 67.62 kB / 0.722 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.2539, allocations: 0.7993 MB / 0.7228 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007764/0.2617, allocations: 2.25 MB / 0.725 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004138/0.2659, allocations: 1.306 MB / 0.7262 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0236/0.2895, allocations: 19.56 MB / 0.7454 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4096/0.6992, allocations: 9.928 MB / 0.755 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0175/0.7168, allocations: 6.594 MB / 0.7615 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01366/0.7305, allocations: 5.769 MB / 0.7671 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004206/0.7347, allocations: 0.8438 MB / 0.7679 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/0.7448, allocations: 1.606 MB / 0.7695 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006211/0.751, allocations: 2.111 MB / 0.7716 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01239/0.7635, allocations: 4.297 MB / 0.7758 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0185/0.782, allocations: 12.08 MB / 0.7876 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.782, allocations: 4 kB / 0.7876 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7821, allocations: 3.25 kB / 0.7876 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004596/0.7825, allocations: 0 / 0.7876 GB, free: 2.312 MB / 0.5762 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.02355/0.8061, allocations: 7.726 MB / 0.7951 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.8062, allocations: 12.91 kB / 0.7951 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00571/0.8119, allocations: 0.7869 MB / 0.7959 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/0.8265, allocations: 6.307 MB / 0.8021 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004351/0.827, allocations: 420.9 kB / 0.8025 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002646/0.8296, allocations: 0.542 MB / 0.803 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0219/0.8515, allocations: 8.062 MB / 0.8109 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/0.8517, allocations: 25.22 kB / 0.8109 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001444/0.8532, allocations: 240 kB / 0.8111 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/0.8534, allocations: 162 kB / 0.8113 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.8679, allocations: 6.531 MB / 0.8176 GB, free: 4.031 MB / 0.5919 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.05109/0.9191, allocations: 31.18 MB / 0.8481 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005997/0.9251, allocations: 3.651 MB / 0.8517 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/0.9292, allocations: 2.802 MB / 0.8544 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.9303, allocations: 0.8318 MB / 0.8552 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.387e-05/0.9304, allocations: 64.67 kB / 0.8553 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 4.478e-06/0.9304, allocations: 0 / 0.8553 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01194/0.9424, allocations: 5.761 MB / 0.8609 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.9425, allocations: 81.52 kB / 0.861 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009777/0.9523, allocations: 5.235 MB / 0.8661 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008251/0.9531, allocations: 81.7 kB / 0.8662 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002912/0.9561, allocations: 2.874 MB / 0.869 GB, free: 14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001729/0.9578, allocations: 0.9367 MB / 0.8699 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.9591, allocations: 0.7152 MB / 0.8706 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9593, allocations: 309.1 kB / 0.8709 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/0.9621, allocations: 1.682 MB / 0.8725 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/0.9659, allocations: 2.929 MB / 0.8754 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00728/0.9732, allocations: 4.964 MB / 0.8802 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.504e-05/0.9733, allocations: 16 kB / 0.8802 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0115/0.9848, allocations: 5.435 MB / 0.8856 GB, free: 12.25 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.9849, allocations: 24 kB / 0.8856 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-05/0.985, allocations: 42.81 kB / 0.8856 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009802/0.9859, allocations: 424.5 kB / 0.886 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003312/0.9893, allocations: 0.8562 MB / 0.8869 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005952/0.9952, allocations: 5.698 MB / 0.8924 GB, free: 5.059 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006032/1.001, allocations: 0.5186 MB / 0.8929 GB, free: 4.535 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.002, allocations: 176 kB / 0.8931 GB, free: 4.363 MB / 0.67 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.005794/1.008, allocations: 2.283 MB / 0.8953 GB, free: 2.125 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002041/1.01, allocations: 490.1 kB / 0.8958 GB, free: 1.641 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007946/1.018, allocations: 4.179 MB / 0.8999 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.628e-05/1.018, allocations: 35.92 kB / 0.8999 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.018, allocations: 8 kB / 0.8999 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005344/1.024, allocations: 3.629 MB / 0.9035 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01993/1.044, allocations: 10.27 MB / 0.9135 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.044, allocations: 4.562 kB / 0.9135 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/1.046, allocations: 0.5001 MB / 0.914 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008648/1.047, allocations: 369.4 kB / 0.9143 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003259/1.047, allocations: 75.97 kB / 0.9144 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005838/1.053, allocations: 5.657 MB / 0.9199 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.053, allocations: 11.12 kB / 0.9199 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/1.064, allocations: 6.239 MB / 0.926 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003517/1.068, allocations: 1.104 MB / 0.9271 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001466/1.069, allocations: 63.98 kB / 0.9272 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0035/1.073, allocations: 171.6 kB / 0.9273 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004263/1.073, allocations: 179.7 kB / 0.9275 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003617/1.074, allocations: 131.9 kB / 0.9276 GB, free: 472 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.007539/1.081, allocations: 3.835 MB / 0.9314 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/1.081, allocations: 0 / 0.9314 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007353/1.088, allocations: 1.808 MB / 0.9331 GB, free: 10.83 MB / 0.7169 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.001586/1.09, allocations: 484.1 kB / 0.9336 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007608/1.098, allocations: 4.269 MB / 0.9378 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.243e-05/1.098, allocations: 8.25 kB / 0.9378 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003206/1.101, allocations: 2.039 MB / 0.9398 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01674/1.118, allocations: 3.462 MB / 0.9432 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/1.14, allocations: 12.52 MB / 0.9554 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004712/1.145, allocations: 4.235 MB / 0.9595 GB, free: 44 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001961/1.147, allocations: 450.1 kB / 0.96 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of SimCode: time 1.122e-06/1.147, allocations: 0 / 0.96 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of Templates: time 0.59/1.737, allocations: 175.2 MB / 1.131 GB, free: 258.9 MB / 0.8262 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)