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.002317/0.002317, allocations: 109.2 kB / 16.41 MB, free: 6.496 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.002255/0.002255, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.521/1.521, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8839/0.8839, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 58.97 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1569, allocations: 80.94 MB / 0.6654 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05479/0.2116, allocations: 49.37 MB / 0.7136 GB, free: 4.215 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02099/0.2326, allocations: 13.82 MB / 0.7271 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.235, allocations: 67.62 kB / 0.7271 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.2375, allocations: 0.8382 MB / 0.7279 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007215/0.2447, allocations: 2.355 MB / 0.7302 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.2486, allocations: 1.307 MB / 0.7315 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4095/0.6581, allocations: 19.56 MB / 0.7506 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01456/0.6726, allocations: 8.233 MB / 0.7587 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01595/0.6886, allocations: 6.6 MB / 0.7651 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01257/0.7011, allocations: 5.768 MB / 0.7707 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003878/0.705, allocations: 0.8483 MB / 0.7716 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008463/0.7135, allocations: 1.601 MB / 0.7731 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005076/0.7186, allocations: 2.202 MB / 0.7753 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01154/0.7301, allocations: 4.293 MB / 0.7795 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01749/0.7476, allocations: 12.12 MB / 0.7913 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.7476, allocations: 3.375 kB / 0.7913 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7476, allocations: 0 / 0.7913 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004738/0.7481, allocations: 0 / 0.7913 GB, free: 1.48 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.02485/0.7729, allocations: 7.924 MB / 0.799 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.773, allocations: 10.64 kB / 0.7991 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005435/0.7784, allocations: 0.8242 MB / 0.7999 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/0.7938, allocations: 6.341 MB / 0.8061 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004551/0.7942, allocations: 416.6 kB / 0.8064 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002486/0.7967, allocations: 0.5371 MB / 0.807 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02302/0.8198, allocations: 8.069 MB / 0.8149 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002147/0.82, allocations: 28.7 kB / 0.8149 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002196/0.8222, allocations: 235.7 kB / 0.8151 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/0.8224, allocations: 163.1 kB / 0.8153 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.8388, allocations: 6.528 MB / 0.8216 GB, free: 14.43 MB / 0.6075 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.0531/0.8919, allocations: 31.26 MB / 0.8522 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006574/0.8985, allocations: 3.444 MB / 0.8555 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004854/0.9033, allocations: 2.58 MB / 0.858 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.9045, allocations: 0.8241 MB / 0.8588 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.335e-05/0.9046, allocations: 68.67 kB / 0.8589 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 4.538e-06/0.9046, allocations: 4 kB / 0.8589 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01406/0.9187, allocations: 5.769 MB / 0.8646 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.9188, allocations: 84.52 kB / 0.8646 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/0.9296, allocations: 5.245 MB / 0.8698 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007797/0.9303, allocations: 77.7 kB / 0.8698 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003478/0.9338, allocations: 2.929 MB / 0.8727 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001711/0.9355, allocations: 0.9892 MB / 0.8737 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001412/0.9369, allocations: 0.7156 MB / 0.8744 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9371, allocations: 305.1 kB / 0.8746 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002985/0.9401, allocations: 1.67 MB / 0.8763 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/0.9443, allocations: 2.936 MB / 0.8791 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007824/0.9521, allocations: 4.969 MB / 0.884 GB, free: 12.13 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-05/0.9522, allocations: 12 kB / 0.884 GB, free: 12.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01407/0.9662, allocations: 5.446 MB / 0.8893 GB, free: 6.875 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.9663, allocations: 20.19 kB / 0.8893 GB, free: 6.855 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.266e-05/0.9664, allocations: 47.98 kB / 0.8894 GB, free: 6.809 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.9674, allocations: 423.7 kB / 0.8898 GB, free: 6.395 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/0.9709, allocations: 0.8567 MB / 0.8906 GB, free: 5.594 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00695/0.9779, allocations: 5.699 MB / 0.8962 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005451/0.9833, allocations: 0.5281 MB / 0.8967 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008214/0.9842, allocations: 184 kB / 0.8969 GB, free: 14.96 MB / 0.6856 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.005315/0.9895, allocations: 2.296 MB / 0.8991 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00186/0.9913, allocations: 0.4969 MB / 0.8996 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008385/0.9997, allocations: 4.168 MB / 0.9037 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/0.9998, allocations: 24 kB / 0.9037 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.9998, allocations: 4 kB / 0.9037 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006239/1.006, allocations: 3.621 MB / 0.9072 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02304/1.029, allocations: 10.26 MB / 0.9173 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/1.029, allocations: 4 kB / 0.9173 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/1.031, allocations: 0.5043 MB / 0.9178 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009277/1.032, allocations: 372.6 kB / 0.9181 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002881/1.033, allocations: 83.61 kB / 0.9182 GB, free: 9 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00678/1.039, allocations: 5.65 MB / 0.9237 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/1.039, allocations: 10.42 kB / 0.9237 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.052, allocations: 6.263 MB / 0.9298 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003611/1.055, allocations: 1.118 MB / 0.9309 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001653/1.057, allocations: 59.98 kB / 0.931 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004202/1.061, allocations: 180 kB / 0.9312 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006032/1.062, allocations: 174.8 kB / 0.9313 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004427/1.062, allocations: 135.8 kB / 0.9315 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.008844/1.071, allocations: 3.839 MB / 0.9352 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/1.071, allocations: 0 / 0.9352 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007948/1.079, allocations: 1.813 MB / 0.937 GB, free: 5.371 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.001816/1.081, allocations: 492.9 kB / 0.9374 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007925/1.089, allocations: 4.124 MB / 0.9415 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.28e-05/1.089, allocations: 6 kB / 0.9415 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003451/1.092, allocations: 1.927 MB / 0.9434 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01787/1.11, allocations: 3.457 MB / 0.9467 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02435/1.134, allocations: 12.72 MB / 0.9592 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00545/1.14, allocations: 4.232 MB / 0.9633 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/1.142, allocations: 447.3 kB / 0.9637 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of SimCode: time 1.292e-06/1.142, allocations: 3.938 kB / 0.9637 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of Templates: time 0.5593/1.701, allocations: 174.8 MB / 1.134 GB, free: 248.4 MB / 0.8262 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)