Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007419/0.00742, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001905/0.001905, allocations: 193.5 kB / 16.67 MB, free: 5.977 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.319/1.319, allocations: 222.9 MB / 240.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8406/0.8406, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 66.58 kB / 0.5856 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1951, allocations: 80.92 MB / 0.6646 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0675/0.2626, allocations: 56 MB / 0.7193 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0272/0.2899, allocations: 17.92 MB / 0.7368 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003674/0.2936, allocations: 71.62 kB / 0.7369 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0034/0.297, allocations: 0.9197 MB / 0.7378 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008937/0.306, allocations: 2.612 MB / 0.7403 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005346/0.3114, allocations: 1.54 MB / 0.7418 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4615/0.7729, allocations: 21.23 MB / 0.7626 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01623/0.7892, allocations: 10.71 MB / 0.773 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01844/0.8076, allocations: 7.253 MB / 0.7801 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01387/0.8215, allocations: 6.37 MB / 0.7863 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003823/0.8254, allocations: 0.9378 MB / 0.7872 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009342/0.8348, allocations: 1.697 MB / 0.7889 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005541/0.8403, allocations: 2.35 MB / 0.7912 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01362/0.854, allocations: 4.711 MB / 0.7958 GB, free: 292 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02188/0.8759, allocations: 13.21 MB / 0.8087 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.876, allocations: 0 / 0.8087 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.684e-06/0.876, allocations: 0 / 0.8087 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0006831/0.8767, allocations: 0 / 0.8087 GB, free: 9.758 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.03181/0.9085, allocations: 8.509 MB / 0.817 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.9086, allocations: 13.11 kB / 0.817 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006097/0.9147, allocations: 0.8509 MB / 0.8178 GB, free: 400 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/0.9327, allocations: 6.709 MB / 0.8244 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005886/0.9333, allocations: 465.8 kB / 0.8248 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003271/0.9366, allocations: 0.5937 MB / 0.8254 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02885/0.9655, allocations: 9.024 MB / 0.8342 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005158/0.966, allocations: 27.77 kB / 0.8343 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003251/0.9693, allocations: 256 kB / 0.8345 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002801/0.9696, allocations: 182.6 kB / 0.8347 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/0.9883, allocations: 7.45 MB / 0.842 GB, free: 7.754 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.07033/1.059, allocations: 35.99 MB / 0.8771 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008877/1.068, allocations: 4.283 MB / 0.8813 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006142/1.074, allocations: 3.29 MB / 0.8845 GB, free: 10.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/1.075, allocations: 0.9621 MB / 0.8854 GB, free: 9.664 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005572/1.081, allocations: 2.388 MB / 0.8878 GB, free: 7.242 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003545/1.085, allocations: 367.1 kB / 0.8881 GB, free: 6.883 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 1.415e-05/1.085, allocations: 0 / 0.8881 GB, free: 6.883 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01625/1.101, allocations: 7.129 MB / 0.8951 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/1.101, allocations: 85.91 kB / 0.8952 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/1.111, allocations: 5.666 MB / 0.9007 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.112, allocations: 90.83 kB / 0.9008 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003578/1.116, allocations: 3.198 MB / 0.9039 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002556/1.119, allocations: 1.113 MB / 0.905 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001698/1.12, allocations: 0.8619 MB / 0.9058 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.12, allocations: 305.1 kB / 0.9061 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/1.124, allocations: 2.16 MB / 0.9082 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004835/1.129, allocations: 3.694 MB / 0.9118 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008904/1.138, allocations: 6.326 MB / 0.918 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.989e-05/1.138, allocations: 16 kB / 0.918 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01266/1.15, allocations: 6.771 MB / 0.9246 GB, free: 396 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.998e-05/1.151, allocations: 61.52 kB / 0.9247 GB, free: 332 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.956e-05/1.151, allocations: 52 kB / 0.9248 GB, free: 280 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/1.152, allocations: 433.3 kB / 0.9252 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003805/1.156, allocations: 1.002 MB / 0.9261 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006281/1.162, allocations: 5.711 MB / 0.9317 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00573/1.168, allocations: 291.4 kB / 0.932 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008426/1.168, allocations: 216 kB / 0.9322 GB, free: 8.371 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.005669/1.174, allocations: 2.483 MB / 0.9346 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/1.176, allocations: 0.5249 MB / 0.9351 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009741/1.186, allocations: 5.267 MB / 0.9403 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.883e-05/1.186, allocations: 32.05 kB / 0.9403 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.186, allocations: 8 kB / 0.9403 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007038/1.193, allocations: 4.526 MB / 0.9447 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02462/1.218, allocations: 11.98 MB / 0.9564 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/1.218, allocations: 4 kB / 0.9565 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002724/1.22, allocations: 0.6503 MB / 0.9571 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008555/1.221, allocations: 369.3 kB / 0.9574 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/1.222, allocations: 87.95 kB / 0.9575 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005834/1.227, allocations: 5.611 MB / 0.963 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.227, allocations: 4 kB / 0.963 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/1.24, allocations: 7.757 MB / 0.9706 GB, free: 472 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003802/1.244, allocations: 1.154 MB / 0.9717 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/1.246, allocations: 71.88 kB / 0.9718 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003273/1.249, allocations: 199.5 kB / 0.972 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/1.249, allocations: 206.2 kB / 0.9722 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003164/1.25, allocations: 135.9 kB / 0.9723 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.006567/1.256, allocations: 3.959 MB / 0.9762 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/1.256, allocations: 4 kB / 0.9762 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007847/1.264, allocations: 2.007 MB / 0.9781 GB, free: 8.73 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.001648/1.266, allocations: 492.6 kB / 0.9786 GB, free: 8.27 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.008721/1.275, allocations: 5.448 MB / 0.9839 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/1.275, allocations: 4 kB / 0.9839 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003562/1.278, allocations: 2.541 MB / 0.9864 GB, free: 200 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01571/1.294, allocations: 3.395 MB / 0.9897 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/1.319, allocations: 13.88 MB / 1.003 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004782/1.324, allocations: 4.628 MB / 1.008 GB, free: 10.33 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007273/1.331, allocations: 2.075 MB / 1.01 GB, free: 8.258 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/1.333, allocations: 467.3 kB / 1.01 GB, free: 7.801 MB / 0.795 GB Notification: Performance of SimCode: time 1.694e-06/1.333, allocations: 0 / 1.01 GB, free: 7.801 MB / 0.795 GB Notification: Performance of Templates: time 0.5452/1.878, allocations: 116.5 MB / 1.124 GB, free: 290.7 MB / 0.8419 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)