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.001566/0.001566, allocations: 107.3 kB / 16.41 MB, free: 6.504 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.001556/0.001556, allocations: 181.8 kB / 17.34 MB, free: 5.727 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8599/0.8599, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.67 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1722, allocations: 80.93 MB / 0.6654 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06093/0.2331, allocations: 56.08 MB / 0.7201 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0265/0.2596, allocations: 17.95 MB / 0.7376 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003488/0.2631, allocations: 79.56 kB / 0.7377 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.2664, allocations: 0.9313 MB / 0.7386 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008447/0.2748, allocations: 2.616 MB / 0.7412 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004939/0.2798, allocations: 1.536 MB / 0.7427 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4546/0.7343, allocations: 21.22 MB / 0.7634 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01633/0.7507, allocations: 8.912 MB / 0.7721 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01936/0.77, allocations: 7.256 MB / 0.7792 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01312/0.7832, allocations: 6.374 MB / 0.7854 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003464/0.7866, allocations: 0.9373 MB / 0.7863 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008197/0.7948, allocations: 1.699 MB / 0.788 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004977/0.7998, allocations: 2.441 MB / 0.7904 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01305/0.8128, allocations: 4.705 MB / 0.795 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0226/0.8354, allocations: 13.37 MB / 0.808 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.8355, allocations: 0.5312 kB / 0.808 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8355, allocations: 0 / 0.808 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000513/0.836, allocations: 3.25 kB / 0.808 GB, free: 10.94 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.02862/0.8646, allocations: 8.714 MB / 0.8165 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.8646, allocations: 9.109 kB / 0.8166 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005785/0.8704, allocations: 0.8981 MB / 0.8174 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01641/0.8868, allocations: 6.744 MB / 0.824 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005308/0.8874, allocations: 458 kB / 0.8245 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002784/0.8901, allocations: 0.5954 MB / 0.825 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0262/0.9163, allocations: 9.034 MB / 0.8339 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002338/0.9166, allocations: 24.02 kB / 0.8339 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002095/0.9187, allocations: 270.2 kB / 0.8341 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002311/0.9189, allocations: 178.5 kB / 0.8343 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/0.9382, allocations: 7.468 MB / 0.8416 GB, free: 9.574 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.06502/1.003, allocations: 36.06 MB / 0.8768 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007865/1.011, allocations: 4.003 MB / 0.8807 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005831/1.017, allocations: 3.031 MB / 0.8837 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/1.019, allocations: 0.9569 MB / 0.8846 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005244/1.024, allocations: 2.392 MB / 0.887 GB, free: 9.551 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003211/1.027, allocations: 393 kB / 0.8873 GB, free: 9.164 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 1.503e-05/1.027, allocations: 2.531 kB / 0.8873 GB, free: 9.164 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01667/1.044, allocations: 7.151 MB / 0.8943 GB, free: 1.945 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/1.044, allocations: 85.84 kB / 0.8944 GB, free: 1.848 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/1.055, allocations: 5.674 MB / 0.8999 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0009411/1.056, allocations: 91.95 kB / 0.9 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.004142/1.06, allocations: 3.279 MB / 0.9032 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002196/1.062, allocations: 1.161 MB / 0.9044 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001683/1.064, allocations: 0.8624 MB / 0.9052 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.064, allocations: 301.1 kB / 0.9055 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004141/1.068, allocations: 2.163 MB / 0.9076 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005965/1.074, allocations: 3.698 MB / 0.9112 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/1.085, allocations: 6.318 MB / 0.9174 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.388e-05/1.086, allocations: 12 kB / 0.9174 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01515/1.101, allocations: 6.79 MB / 0.924 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/1.101, allocations: 57.83 kB / 0.9241 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.108e-05/1.101, allocations: 52 kB / 0.9241 GB, free: 2.316 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/1.102, allocations: 433.3 kB / 0.9245 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004426/1.106, allocations: 1.002 MB / 0.9255 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007072/1.114, allocations: 5.706 MB / 0.9311 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006473/1.12, allocations: 287.7 kB / 0.9314 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/1.121, allocations: 220 kB / 0.9316 GB, free: 10.42 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.00625/1.127, allocations: 2.48 MB / 0.934 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002195/1.13, allocations: 0.5551 MB / 0.9345 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.14, allocations: 5.259 MB / 0.9397 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.076e-05/1.14, allocations: 32 kB / 0.9397 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/1.14, allocations: 4 kB / 0.9397 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007851/1.148, allocations: 4.516 MB / 0.9441 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02854/1.177, allocations: 11.98 MB / 0.9558 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.177, allocations: 3.984 kB / 0.9558 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002987/1.18, allocations: 0.6438 MB / 0.9565 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009987/1.181, allocations: 368.7 kB / 0.9568 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003478/1.181, allocations: 87.95 kB / 0.9569 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006912/1.188, allocations: 5.626 MB / 0.9624 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.188, allocations: 4.062 kB / 0.9624 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.203, allocations: 7.778 MB / 0.97 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004429/1.208, allocations: 1.185 MB / 0.9711 GB, free: 1.285 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001908/1.21, allocations: 60 kB / 0.9712 GB, free: 1.227 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004474/1.214, allocations: 195.7 kB / 0.9714 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006275/1.215, allocations: 194.2 kB / 0.9716 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00047/1.215, allocations: 147.9 kB / 0.9717 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.008813/1.224, allocations: 3.959 MB / 0.9756 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.7e-07/1.224, allocations: 0 / 0.9756 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.009383/1.233, allocations: 2.031 MB / 0.9776 GB, free: 10.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.001964/1.235, allocations: 499.8 kB / 0.978 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.247, allocations: 5.247 MB / 0.9832 GB, free: 4.988 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.247, allocations: 0 / 0.9832 GB, free: 4.988 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004571/1.251, allocations: 2.37 MB / 0.9855 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01882/1.27, allocations: 3.378 MB / 0.9888 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03003/1.3, allocations: 14.14 MB / 1.003 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005605/1.306, allocations: 4.546 MB / 1.007 GB, free: 12.52 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002394/1.308, allocations: 499.1 kB / 1.008 GB, free: 12.03 MB / 0.795 GB Notification: Performance of SimCode: time 1.172e-06/1.308, allocations: 0 / 1.008 GB, free: 12.03 MB / 0.795 GB Notification: Performance of Templates: time 0.6174/1.925, allocations: 188.6 MB / 1.192 GB, free: 186.2 MB / 0.8262 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)