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.0009098/0.0009098, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9672/0.9672, allocations: 135.3 MB / 427.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 12 kB / 0.5082 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 82.3 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3365/0.5005, allocations: 54.51 MB / 0.6418 GB, free: 20.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01882/0.5194, allocations: 17.72 MB / 0.6591 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.5225, allocations: 67.91 kB / 0.6592 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.525, allocations: 0.7142 MB / 0.6599 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007058/0.5321, allocations: 2.315 MB / 0.6622 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003667/0.5357, allocations: 1.386 MB / 0.6635 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.03139/0.5671, allocations: 27.77 MB / 0.6906 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01433/0.5815, allocations: 8.451 MB / 0.6989 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01238/0.5939, allocations: 5.221 MB / 0.704 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01193/0.6059, allocations: 5.798 MB / 0.7097 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002373/0.6083, allocations: 348 kB / 0.71 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006755/0.6151, allocations: 1.033 MB / 0.711 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003681/0.6188, allocations: 1.58 MB / 0.7125 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.009379/0.6282, allocations: 3.904 MB / 0.7164 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.641, allocations: 10.38 MB / 0.7265 GB, free: 15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.641, allocations: 0 / 0.7265 GB, free: 15 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.665e-06/0.641, allocations: 0 / 0.7265 GB, free: 15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004422/0.6415, allocations: 0 / 0.7265 GB, free: 15 MB / 0.545 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.0161/0.6576, allocations: 6.88 MB / 0.7332 GB, free: 8.027 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.6577, allocations: 16.02 kB / 0.7332 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004251/0.6619, allocations: 0.8508 MB / 0.7341 GB, free: 7.152 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.6743, allocations: 6.62 MB / 0.7405 GB, free: 492 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003974/0.6748, allocations: 464.2 kB / 0.741 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001766/0.6765, allocations: 0.5976 MB / 0.7415 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/0.6956, allocations: 9.031 MB / 0.7504 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001629/0.6958, allocations: 19.88 kB / 0.7504 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000986/0.6968, allocations: 264 kB / 0.7506 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001763/0.6969, allocations: 180 kB / 0.7508 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/0.7143, allocations: 7.461 MB / 0.7581 GB, free: 14.15 MB / 0.5762 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.05548/0.7698, allocations: 35.98 MB / 0.7932 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008224/0.7781, allocations: 4.292 MB / 0.7974 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005694/0.7838, allocations: 3.341 MB / 0.8007 GB, free: 492 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/0.7853, allocations: 0.9739 MB / 0.8016 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00503/0.7904, allocations: 2.406 MB / 0.804 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003463/0.7939, allocations: 447.8 kB / 0.8044 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.287e-05/0.7939, allocations: 0 / 0.8044 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01614/0.8101, allocations: 7.125 MB / 0.8114 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/0.8102, allocations: 89.84 kB / 0.8115 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/0.8217, allocations: 5.467 MB / 0.8168 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008477/0.8226, allocations: 85.7 kB / 0.8169 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004028/0.8266, allocations: 3.196 MB / 0.82 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001996/0.8287, allocations: 1.113 MB / 0.8211 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.8299, allocations: 367.3 kB / 0.8214 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.83, allocations: 309.1 kB / 0.8217 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004322/0.8344, allocations: 2.16 MB / 0.8238 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005507/0.8399, allocations: 3.689 MB / 0.8274 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.8501, allocations: 6.307 MB / 0.8336 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-05/0.8502, allocations: 16 kB / 0.8336 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01506/0.8653, allocations: 6.76 MB / 0.8402 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.8655, allocations: 53.7 kB / 0.8403 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.351e-05/0.8656, allocations: 48 kB / 0.8403 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.8667, allocations: 440.4 kB / 0.8407 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/0.8709, allocations: 1.022 MB / 0.8417 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005997/0.877, allocations: 5.257 MB / 0.8469 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005901/0.8829, allocations: 474.8 kB / 0.8473 GB, free: 14.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/0.884, allocations: 220 kB / 0.8475 GB, free: 14.38 MB / 0.67 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.005753/0.8898, allocations: 2.479 MB / 0.8499 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002006/0.8918, allocations: 0.5249 MB / 0.8505 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.9032, allocations: 5.248 MB / 0.8556 GB, free: 6.059 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.926e-05/0.9033, allocations: 44.17 kB / 0.8556 GB, free: 6.016 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/0.9033, allocations: 7.938 kB / 0.8556 GB, free: 6.008 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007895/0.9112, allocations: 4.532 MB / 0.8601 GB, free: 1.371 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 postOpt removeSimpleEquations (simulation): time 0.358/1.269, allocations: 11.98 MB / 0.8718 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/1.269, allocations: 3.25 kB / 0.8718 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/1.272, allocations: 0.6502 MB / 0.8724 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007964/1.273, allocations: 376 kB / 0.8727 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/1.273, allocations: 83.94 kB / 0.8728 GB, free: 197.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004342/1.277, allocations: 5.182 MB / 0.8779 GB, free: 193.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.277, allocations: 3.688 kB / 0.8779 GB, free: 193.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/1.289, allocations: 7.625 MB / 0.8853 GB, free: 190.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005102/1.294, allocations: 1.218 MB / 0.8865 GB, free: 190.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002151/1.296, allocations: 65.22 kB / 0.8866 GB, free: 190.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005394/1.301, allocations: 472.9 kB / 0.887 GB, free: 190.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005692/1.302, allocations: 196.5 kB / 0.8872 GB, free: 190.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000383/1.302, allocations: 143.4 kB / 0.8874 GB, free: 190.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007031/1.309, allocations: 3.802 MB / 0.8911 GB, free: 188.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.21e-07/1.309, allocations: 2.219 kB / 0.8911 GB, free: 188.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009123/1.319, allocations: 1.983 MB / 0.893 GB, free: 188.6 MB / 0.67 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.001939/1.321, allocations: 494.6 kB / 0.8935 GB, free: 188.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.331, allocations: 5.382 MB / 0.8987 GB, free: 186.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/1.331, allocations: 3.438 kB / 0.8987 GB, free: 186.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004748/1.336, allocations: 2.514 MB / 0.9012 GB, free: 185.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01955/1.355, allocations: 3.228 MB / 0.9044 GB, free: 184.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02918/1.384, allocations: 16.72 MB / 0.9207 GB, free: 176 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007302/1.392, allocations: 4.552 MB / 0.9251 GB, free: 174.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002425/1.394, allocations: 496.4 kB / 0.9256 GB, free: 174.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.222e-06/1.394, allocations: 0 / 0.9256 GB, free: 174.4 MB / 0.67 GB Notification: Performance of Templates: time 0.2168/1.611, allocations: 184.9 MB / 1.106 GB, free: 1.129 MB / 0.67 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)