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.001521/0.001521, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001542/0.001542, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7945/0.7945, allocations: 135.1 MB / 426.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.131, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04944/0.1805, allocations: 55.98 MB / 0.72 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02125/0.2018, allocations: 17.93 MB / 0.7375 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.2042, allocations: 75.56 kB / 0.7376 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.2066, allocations: 0.9158 MB / 0.7384 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006495/0.2132, allocations: 2.618 MB / 0.741 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.2167, allocations: 1.528 MB / 0.7425 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3482/0.5649, allocations: 21.25 MB / 0.7632 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01428/0.5792, allocations: 10.7 MB / 0.7737 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01474/0.594, allocations: 7.255 MB / 0.7808 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01113/0.6052, allocations: 6.372 MB / 0.787 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002759/0.6079, allocations: 0.9387 MB / 0.7879 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006686/0.6146, allocations: 1.698 MB / 0.7896 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003229/0.6179, allocations: 2.346 MB / 0.7919 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.008599/0.6265, allocations: 4.708 MB / 0.7965 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.641, allocations: 13.25 MB / 0.8094 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.641, allocations: 0 / 0.8094 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6411, allocations: 0 / 0.8094 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004026/0.6415, allocations: 0 / 0.8094 GB, free: 9.805 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.02051/0.662, allocations: 8.728 MB / 0.8179 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.662, allocations: 9.109 kB / 0.8179 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.6656, allocations: 0.902 MB / 0.8188 GB, free: 192 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.6775, allocations: 6.736 MB / 0.8254 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/0.6779, allocations: 464.1 kB / 0.8258 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00163/0.6795, allocations: 0.5898 MB / 0.8264 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.6954, allocations: 9.029 MB / 0.8352 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.6956, allocations: 20.02 kB / 0.8353 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000662/0.6962, allocations: 262.8 kB / 0.8355 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001538/0.6964, allocations: 186.6 kB / 0.8357 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.7093, allocations: 7.441 MB / 0.8429 GB, free: 7.535 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.04291/0.7523, allocations: 36.07 MB / 0.8782 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005703/0.758, allocations: 4.283 MB / 0.8824 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004244/0.7623, allocations: 3.293 MB / 0.8856 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.7634, allocations: 0.9517 MB / 0.8865 GB, free: 9.375 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003433/0.7669, allocations: 2.39 MB / 0.8888 GB, free: 6.949 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002016/0.7689, allocations: 383 kB / 0.8892 GB, free: 6.574 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 6.171e-06/0.7689, allocations: 0 / 0.8892 GB, free: 6.574 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01209/0.781, allocations: 7.159 MB / 0.8962 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.7811, allocations: 89.91 kB / 0.8963 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007651/0.7888, allocations: 5.67 MB / 0.9018 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000494/0.7893, allocations: 85.7 kB / 0.9019 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002949/0.7922, allocations: 3.274 MB / 0.9051 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001435/0.7937, allocations: 1.17 MB / 0.9062 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/0.7948, allocations: 0.8624 MB / 0.9071 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.521e-05/0.7949, allocations: 305.1 kB / 0.9074 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003136/0.7981, allocations: 2.167 MB / 0.9095 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004/0.8021, allocations: 3.699 MB / 0.9131 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007733/0.8098, allocations: 6.327 MB / 0.9193 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.517e-05/0.8099, allocations: 12 kB / 0.9193 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01054/0.8204, allocations: 6.795 MB / 0.9259 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/0.8205, allocations: 57.69 kB / 0.926 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.071e-05/0.8206, allocations: 52 kB / 0.926 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009128/0.8215, allocations: 435.9 kB / 0.9264 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003388/0.8249, allocations: 1.002 MB / 0.9274 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005393/0.8303, allocations: 5.7 MB / 0.933 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.8346, allocations: 287.5 kB / 0.9333 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004602/0.835, allocations: 219.9 kB / 0.9335 GB, free: 7.879 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.00391/0.839, allocations: 2.482 MB / 0.9359 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/0.8403, allocations: 0.5512 MB / 0.9364 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008174/0.8485, allocations: 5.269 MB / 0.9416 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006229/0.8547, allocations: 4.524 MB / 0.946 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.8547, allocations: 0 / 0.946 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003028/0.8578, allocations: 1.204 MB / 0.9472 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001152/0.8589, allocations: 67.97 kB / 0.9472 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003017/0.8619, allocations: 198.5 kB / 0.9474 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004361/0.8624, allocations: 206.2 kB / 0.9476 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009303/0.8717, allocations: 5.263 MB / 0.9528 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.011/0.8827, allocations: 7.946 MB / 0.9605 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00275/0.8855, allocations: 2.233 MB / 0.9627 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.005872/0.8914, allocations: 3.967 MB / 0.9666 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of Backend: time 6.92e-07/0.8914, allocations: 0 / 0.9666 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008467/0.8999, allocations: 4.117 MB / 0.9706 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of SimCode: time 0.02861/0.9285, allocations: 15.66 MB / 0.9859 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of Templates: time 0.7489/1.677, allocations: 118.2 MB / 1.101 GB, free: 285.1 MB / 0.8263 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)