Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00497/0.00497, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001081/0.001081, allocations: 186.7 kB / 16.67 MB, free: 5.922 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7667/0.7667, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.64 kB / 0.5813 GB, free: 23.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.174, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06416/0.2382, allocations: 55.98 MB / 0.7143 GB, free: 2.086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02713/0.2654, allocations: 17.94 MB / 0.7318 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003806/0.2692, allocations: 75.56 kB / 0.7319 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003464/0.2727, allocations: 0.8924 MB / 0.7328 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00873/0.2815, allocations: 2.507 MB / 0.7352 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00466/0.2862, allocations: 1.531 MB / 0.7367 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4199/0.7061, allocations: 21.21 MB / 0.7574 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01634/0.7225, allocations: 10.7 MB / 0.7679 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01652/0.7391, allocations: 7.179 MB / 0.7749 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0146/0.7537, allocations: 6.376 MB / 0.7811 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004049/0.7578, allocations: 0.9401 MB / 0.782 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.7679, allocations: 1.697 MB / 0.7837 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005373/0.7734, allocations: 2.343 MB / 0.786 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01239/0.7858, allocations: 4.711 MB / 0.7906 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0212/0.807, allocations: 13.23 MB / 0.8035 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.8071, allocations: 3.938 kB / 0.8035 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8071, allocations: 3.938 kB / 0.8035 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000584/0.8077, allocations: 0 / 0.8035 GB, free: 12.91 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.0272/0.8349, allocations: 8.726 MB / 0.812 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.835, allocations: 8.031 kB / 0.8121 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00594/0.8409, allocations: 0.9059 MB / 0.8129 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01808/0.859, allocations: 6.732 MB / 0.8195 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005795/0.8596, allocations: 463.5 kB / 0.82 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003091/0.8627, allocations: 0.5982 MB / 0.8205 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02723/0.89, allocations: 9.021 MB / 0.8293 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004212/0.8905, allocations: 23.45 kB / 0.8294 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002761/0.8933, allocations: 260 kB / 0.8296 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002319/0.8935, allocations: 183.5 kB / 0.8298 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01895/0.9125, allocations: 7.448 MB / 0.8371 GB, free: 13.41 MB / 0.6231 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.06177/0.9743, allocations: 36.04 MB / 0.8723 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007831/0.9821, allocations: 4.285 MB / 0.8765 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005759/0.9879, allocations: 3.31 MB / 0.8797 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/0.9894, allocations: 0.9509 MB / 0.8806 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005089/0.9945, allocations: 2.385 MB / 0.8829 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003438/0.9979, allocations: 388 kB / 0.8833 GB, free: 12.47 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 1.439e-05/0.998, allocations: 3.938 kB / 0.8833 GB, free: 12.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01542/1.013, allocations: 7.157 MB / 0.8903 GB, free: 5.238 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/1.014, allocations: 85.91 kB / 0.8904 GB, free: 5.141 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01532/1.029, allocations: 5.674 MB / 0.8959 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001343/1.03, allocations: 89.7 kB / 0.896 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.005356/1.036, allocations: 3.267 MB / 0.8992 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002588/1.038, allocations: 1.172 MB / 0.9003 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003666/1.042, allocations: 0.8663 MB / 0.9012 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.042, allocations: 305.1 kB / 0.9015 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004386/1.046, allocations: 2.163 MB / 0.9036 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005577/1.052, allocations: 3.694 MB / 0.9072 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009736/1.062, allocations: 6.321 MB / 0.9134 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.017e-05/1.062, allocations: 16 kB / 0.9134 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01486/1.077, allocations: 6.794 MB / 0.92 GB, free: 5.844 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-05/1.077, allocations: 57.7 kB / 0.9201 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.554e-05/1.077, allocations: 48 kB / 0.9201 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/1.078, allocations: 439.2 kB / 0.9205 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00395/1.082, allocations: 1.01 MB / 0.9215 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/1.089, allocations: 5.701 MB / 0.9271 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007622/1.097, allocations: 283.6 kB / 0.9274 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/1.098, allocations: 220 kB / 0.9276 GB, free: 13.96 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.007912/1.106, allocations: 2.474 MB / 0.93 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003296/1.109, allocations: 0.5538 MB / 0.9305 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/1.121, allocations: 5.276 MB / 0.9357 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.014e-05/1.121, allocations: 32 kB / 0.9357 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.56e-05/1.121, allocations: 8 kB / 0.9357 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007542/1.129, allocations: 4.528 MB / 0.9402 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02697/1.156, allocations: 11.98 MB / 0.9519 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.156, allocations: 3.984 kB / 0.9519 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/1.159, allocations: 0.6429 MB / 0.9525 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009008/1.16, allocations: 372 kB / 0.9528 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003527/1.16, allocations: 83.95 kB / 0.9529 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005822/1.166, allocations: 5.63 MB / 0.9584 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.166, allocations: 3.938 kB / 0.9584 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/1.179, allocations: 7.791 MB / 0.966 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004045/1.183, allocations: 1.189 MB / 0.9672 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002522/1.186, allocations: 60 kB / 0.9673 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004657/1.19, allocations: 203.4 kB / 0.9674 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005659/1.191, allocations: 196.7 kB / 0.9676 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000497/1.191, allocations: 139.9 kB / 0.9678 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.009369/1.201, allocations: 3.959 MB / 0.9716 GB, free: 488 kB / 0.7481 GB Notification: Performance of sort global known variables: time 4.91e-07/1.201, allocations: 0 / 0.9716 GB, free: 488 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.009773/1.211, allocations: 2.023 MB / 0.9736 GB, free: 14.45 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.001892/1.213, allocations: 0.4891 MB / 0.9741 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01008/1.223, allocations: 5.445 MB / 0.9794 GB, free: 8.691 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.223, allocations: 0.5 kB / 0.9794 GB, free: 8.691 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004261/1.227, allocations: 2.555 MB / 0.9819 GB, free: 6.168 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01817/1.245, allocations: 3.388 MB / 0.9852 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03097/1.276, allocations: 14.09 MB / 0.999 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007955/1.284, allocations: 4.633 MB / 1.003 GB, free: 108 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.008883/1.293, allocations: 2.075 MB / 1.006 GB, free: 14.04 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002242/1.295, allocations: 461.9 kB / 1.006 GB, free: 13.59 MB / 0.795 GB Notification: Performance of SimCode: time 1.452e-06/1.295, allocations: 0 / 1.006 GB, free: 13.59 MB / 0.795 GB Notification: Performance of Templates: time 0.533/1.828, allocations: 116.5 MB / 1.12 GB, free: 268 MB / 0.8262 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)