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.005535/0.005535, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001179/0.00118, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9496/0.9496, allocations: 135.1 MB / 425.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.89 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5166, allocations: 80.92 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05438/0.571, allocations: 55.99 MB / 0.7193 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02441/0.5955, allocations: 17.92 MB / 0.7368 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003921/0.5994, allocations: 75.62 kB / 0.7369 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003047/0.6025, allocations: 0.9158 MB / 0.7378 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008338/0.6109, allocations: 2.612 MB / 0.7403 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004088/0.615, allocations: 1.529 MB / 0.7418 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02101/0.636, allocations: 21.26 MB / 0.7626 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.6498, allocations: 10.72 MB / 0.7731 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01556/0.6654, allocations: 7.253 MB / 0.7801 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01136/0.6768, allocations: 6.37 MB / 0.7864 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003053/0.6799, allocations: 0.9375 MB / 0.7873 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007561/0.6874, allocations: 1.698 MB / 0.7889 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005876/0.6934, allocations: 2.337 MB / 0.7912 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01241/0.7058, allocations: 4.711 MB / 0.7958 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01817/0.724, allocations: 13.2 MB / 0.8087 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.724, allocations: 4 kB / 0.8087 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7241, allocations: 0 / 0.8087 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004645/0.7245, allocations: 0 / 0.8087 GB, free: 13.68 MB / 0.6387 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.02361/0.7481, allocations: 8.514 MB / 0.817 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.7482, allocations: 8.031 kB / 0.817 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005175/0.7534, allocations: 0.8586 MB / 0.8179 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01764/0.7711, allocations: 6.699 MB / 0.8244 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/0.7716, allocations: 456.2 kB / 0.8248 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002486/0.7741, allocations: 0.6014 MB / 0.8254 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02437/0.7985, allocations: 9.025 MB / 0.8342 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.7987, allocations: 15.88 kB / 0.8343 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007917/0.7995, allocations: 260 kB / 0.8345 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/0.7997, allocations: 183.9 kB / 0.8347 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.8134, allocations: 7.449 MB / 0.842 GB, free: 11.12 MB / 0.67 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.5126/1.326, allocations: 35.99 MB / 0.8771 GB, free: 161.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009463/1.336, allocations: 4.278 MB / 0.8813 GB, free: 161.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005945/1.342, allocations: 3.299 MB / 0.8845 GB, free: 160 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/1.343, allocations: 0.9547 MB / 0.8854 GB, free: 159 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004131/1.347, allocations: 2.392 MB / 0.8878 GB, free: 158.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003209/1.35, allocations: 374.5 kB / 0.8881 GB, free: 158.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.524e-05/1.35, allocations: 0 / 0.8881 GB, free: 158.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01369/1.364, allocations: 7.126 MB / 0.8951 GB, free: 155.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/1.364, allocations: 86.53 kB / 0.8952 GB, free: 155.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009816/1.374, allocations: 5.667 MB / 0.9007 GB, free: 152.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0009503/1.375, allocations: 91.02 kB / 0.9008 GB, free: 152.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003062/1.378, allocations: 3.192 MB / 0.9039 GB, free: 149.8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001902/1.38, allocations: 1.117 MB / 0.905 GB, free: 148.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/1.382, allocations: 0.8541 MB / 0.9058 GB, free: 148.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.899e-05/1.382, allocations: 308.8 kB / 0.9061 GB, free: 148 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/1.385, allocations: 2.166 MB / 0.9082 GB, free: 146.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003871/1.389, allocations: 3.69 MB / 0.9118 GB, free: 143.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006599/1.395, allocations: 6.325 MB / 0.918 GB, free: 139.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.717e-05/1.395, allocations: 12.72 kB / 0.918 GB, free: 139.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009967/1.405, allocations: 6.775 MB / 0.9246 GB, free: 135.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.321e-05/1.406, allocations: 56.5 kB / 0.9247 GB, free: 135.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.062e-05/1.406, allocations: 49.84 kB / 0.9247 GB, free: 135.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009087/1.406, allocations: 435.8 kB / 0.9252 GB, free: 135.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003344/1.41, allocations: 1 MB / 0.9261 GB, free: 135.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004602/1.414, allocations: 5.719 MB / 0.9317 GB, free: 129.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005553/1.42, allocations: 283.4 kB / 0.932 GB, free: 129.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005358/1.421, allocations: 216 kB / 0.9322 GB, free: 129 MB / 0.6856 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.004874/1.425, allocations: 2.484 MB / 0.9346 GB, free: 126.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002204/1.428, allocations: 0.5249 MB / 0.9351 GB, free: 125.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009225/1.437, allocations: 5.274 MB / 0.9403 GB, free: 120.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/1.437, allocations: 32 kB / 0.9403 GB, free: 120.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.049e-05/1.437, allocations: 4 kB / 0.9403 GB, free: 120.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005948/1.443, allocations: 4.536 MB / 0.9448 GB, free: 115.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02124/1.464, allocations: 11.97 MB / 0.9564 GB, free: 103.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/1.464, allocations: 4.125 kB / 0.9564 GB, free: 103.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00249/1.467, allocations: 0.6436 MB / 0.9571 GB, free: 103.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007396/1.468, allocations: 375 kB / 0.9574 GB, free: 102.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/1.468, allocations: 87.95 kB / 0.9575 GB, free: 102.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004217/1.472, allocations: 5.614 MB / 0.963 GB, free: 96.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.472, allocations: 4 kB / 0.963 GB, free: 96.94 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009862/1.482, allocations: 7.761 MB / 0.9706 GB, free: 89.09 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003458/1.485, allocations: 1.154 MB / 0.9717 GB, free: 87.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/1.486, allocations: 72.3 kB / 0.9718 GB, free: 87.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/1.49, allocations: 197.7 kB / 0.972 GB, free: 87.64 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/1.49, allocations: 202.2 kB / 0.9722 GB, free: 87.45 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003031/1.49, allocations: 135.9 kB / 0.9723 GB, free: 87.31 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.005738/1.496, allocations: 3.963 MB / 0.9762 GB, free: 83.37 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.3e-07/1.496, allocations: 4 kB / 0.9762 GB, free: 83.37 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.008969/1.505, allocations: 2.005 MB / 0.9781 GB, free: 81.38 MB / 0.6856 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.001492/1.507, allocations: 499.2 kB / 0.9786 GB, free: 80.93 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007337/1.514, allocations: 5.438 MB / 0.9839 GB, free: 75.44 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.514, allocations: 7.781 kB / 0.9839 GB, free: 75.43 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002928/1.517, allocations: 2.539 MB / 0.9864 GB, free: 72.86 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01579/1.533, allocations: 3.395 MB / 0.9897 GB, free: 69.58 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/1.552, allocations: 13.88 MB / 1.003 GB, free: 55.67 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003275/1.556, allocations: 4.628 MB / 1.008 GB, free: 51.01 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005943/1.562, allocations: 2.077 MB / 1.01 GB, free: 48.93 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/1.563, allocations: 471.2 kB / 1.01 GB, free: 48.47 MB / 0.6856 GB Notification: Performance of SimCode: time 1.462e-06/1.563, allocations: 3.938 kB / 1.01 GB, free: 48.46 MB / 0.6856 GB Notification: Performance of Templates: time 0.1659/1.729, allocations: 116.5 MB / 1.124 GB, free: 12.86 MB / 0.7637 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)