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.001094/0.001094, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001112/0.001112, allocations: 191 kB / 17.29 MB, free: 5.516 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7843/0.7843, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.91 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4089, allocations: 80.9 MB / 0.5857 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04536/0.4543, allocations: 55.98 MB / 0.6404 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02237/0.4767, allocations: 17.93 MB / 0.6579 GB, free: 488 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.4793, allocations: 71.62 kB / 0.658 GB, free: 416 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.4816, allocations: 0.8963 MB / 0.6589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006561/0.4883, allocations: 2.506 MB / 0.6613 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.492, allocations: 1.525 MB / 0.6628 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01965/0.5117, allocations: 21.22 MB / 0.6835 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01596/0.5277, allocations: 10.7 MB / 0.694 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01974/0.5474, allocations: 7.186 MB / 0.701 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01468/0.5621, allocations: 6.374 MB / 0.7072 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.004081/0.5663, allocations: 0.9375 MB / 0.7081 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008024/0.5743, allocations: 1.694 MB / 0.7098 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003802/0.5782, allocations: 2.345 MB / 0.7121 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.008867/0.5871, allocations: 4.711 MB / 0.7167 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01603/0.6031, allocations: 13.19 MB / 0.7296 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.6032, allocations: 0 / 0.7296 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6032, allocations: 4 kB / 0.7296 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004517/0.6037, allocations: 0 / 0.7296 GB, free: 6.867 MB / 0.5606 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.02153/0.6252, allocations: 8.516 MB / 0.7379 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.6253, allocations: 13.11 kB / 0.7379 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003485/0.6287, allocations: 0.847 MB / 0.7387 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.6407, allocations: 6.71 MB / 0.7453 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003344/0.6411, allocations: 464.2 kB / 0.7457 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.6424, allocations: 0.5937 MB / 0.7463 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5666/1.209, allocations: 9.021 MB / 0.7551 GB, free: 144.7 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001895/1.209, allocations: 20.75 kB / 0.7551 GB, free: 144.7 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009721/1.21, allocations: 263.4 kB / 0.7554 GB, free: 144.5 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003091/1.211, allocations: 179.9 kB / 0.7556 GB, free: 144.5 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/1.227, allocations: 7.449 MB / 0.7628 GB, free: 141.4 MB / 0.5763 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.04533/1.273, allocations: 35.98 MB / 0.798 GB, free: 110.8 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005065/1.278, allocations: 4.293 MB / 0.8022 GB, free: 106.5 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003509/1.281, allocations: 3.306 MB / 0.8054 GB, free: 103.2 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000985/1.282, allocations: 0.9606 MB / 0.8063 GB, free: 102.1 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002891/1.285, allocations: 2.385 MB / 0.8087 GB, free: 99.68 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002159/1.288, allocations: 374.3 kB / 0.809 GB, free: 99.32 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=317): time 8.416e-06/1.288, allocations: 0 / 0.809 GB, free: 99.32 MB / 0.5763 GB Notification: Performance of matching and sorting (n=317): time 0.01018/1.298, allocations: 7.123 MB / 0.816 GB, free: 92.14 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/1.298, allocations: 88.73 kB / 0.8161 GB, free: 92.04 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006233/1.304, allocations: 5.67 MB / 0.8216 GB, free: 86.39 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0004812/1.305, allocations: 85.7 kB / 0.8217 GB, free: 86.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002006/1.307, allocations: 3.195 MB / 0.8248 GB, free: 83.09 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009745/1.308, allocations: 1.113 MB / 0.8259 GB, free: 81.99 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009919/1.309, allocations: 0.8542 MB / 0.8267 GB, free: 81.12 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/1.309, allocations: 310.6 kB / 0.827 GB, free: 80.82 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002615/1.311, allocations: 2.16 MB / 0.8291 GB, free: 78.65 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003122/1.314, allocations: 3.701 MB / 0.8327 GB, free: 74.29 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005995/1.32, allocations: 6.323 MB / 0.8389 GB, free: 67.29 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-05/1.32, allocations: 19.94 kB / 0.8389 GB, free: 67.27 MB / 0.5763 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01031/1.331, allocations: 6.776 MB / 0.8455 GB, free: 60.44 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.325e-05/1.331, allocations: 57.77 kB / 0.8456 GB, free: 60.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.999e-05/1.331, allocations: 48 kB / 0.8456 GB, free: 60.33 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008969/1.332, allocations: 437.1 kB / 0.8461 GB, free: 59.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/1.335, allocations: 1.002 MB / 0.847 GB, free: 58.89 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004501/1.34, allocations: 5.706 MB / 0.8526 GB, free: 52.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004951/1.345, allocations: 283.5 kB / 0.8529 GB, free: 52.64 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006528/1.345, allocations: 220 kB / 0.8531 GB, free: 52.42 MB / 0.5763 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.004041/1.349, allocations: 2.48 MB / 0.8555 GB, free: 49.93 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/1.351, allocations: 0.5338 MB / 0.856 GB, free: 49.39 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007577/1.359, allocations: 5.26 MB / 0.8612 GB, free: 44.09 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/1.359, allocations: 32 kB / 0.8612 GB, free: 44.05 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.359, allocations: 4 kB / 0.8612 GB, free: 44.05 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005375/1.364, allocations: 4.529 MB / 0.8656 GB, free: 39.42 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02047/1.385, allocations: 11.98 MB / 0.8773 GB, free: 27.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/1.385, allocations: 0 / 0.8773 GB, free: 27.37 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/1.387, allocations: 0.6476 MB / 0.878 GB, free: 26.72 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007064/1.388, allocations: 367.9 kB / 0.8783 GB, free: 26.36 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/1.388, allocations: 87.89 kB / 0.8784 GB, free: 26.27 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004096/1.392, allocations: 5.625 MB / 0.8839 GB, free: 20.38 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.392, allocations: 4 kB / 0.8839 GB, free: 20.38 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.402, allocations: 7.765 MB / 0.8915 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003281/1.406, allocations: 1.154 MB / 0.8926 GB, free: 11.33 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/1.407, allocations: 75.92 kB / 0.8927 GB, free: 11.26 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/1.41, allocations: 189.2 kB / 0.8929 GB, free: 11.07 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003915/1.41, allocations: 198.2 kB / 0.893 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002713/1.411, allocations: 139.8 kB / 0.8932 GB, free: 10.74 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00467/1.415, allocations: 3.963 MB / 0.897 GB, free: 6.801 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.3e-07/1.415, allocations: 4 kB / 0.8971 GB, free: 6.797 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.005249/1.421, allocations: 2.016 MB / 0.899 GB, free: 4.797 MB / 0.5763 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.0009955/1.422, allocations: 499.3 kB / 0.8995 GB, free: 4.332 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.006901/1.428, allocations: 5.432 MB / 0.9048 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.428, allocations: 4 kB / 0.9048 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003468/1.432, allocations: 2.545 MB / 0.9073 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01372/1.446, allocations: 3.396 MB / 0.9106 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/1.47, allocations: 13.87 MB / 0.9241 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006313/1.476, allocations: 4.628 MB / 0.9287 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007279/1.483, allocations: 2.084 MB / 0.9307 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/1.485, allocations: 467.2 kB / 0.9311 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of SimCode: time 7.41e-07/1.485, allocations: 0 / 0.9311 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of Templates: time 0.428/1.913, allocations: 114.8 MB / 1.043 GB, free: 228.7 MB / 0.6857 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)