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.001142/0.001142, allocations: 116.6 kB / 16.37 MB, free: 6.012 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.001179, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.837/0.837, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.89 kB / 0.5068 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3618, allocations: 80.9 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04893/0.4108, allocations: 55.99 MB / 0.6404 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02339/0.4342, allocations: 17.93 MB / 0.6579 GB, free: 468 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002896/0.4371, allocations: 75.62 kB / 0.658 GB, free: 392 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.4397, allocations: 0.8963 MB / 0.6589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006793/0.4465, allocations: 2.503 MB / 0.6613 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004129/0.4506, allocations: 1.528 MB / 0.6628 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02063/0.4713, allocations: 21.22 MB / 0.6835 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01592/0.4873, allocations: 10.71 MB / 0.694 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01632/0.5036, allocations: 7.185 MB / 0.701 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.5163, allocations: 6.374 MB / 0.7072 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.003461/0.5198, allocations: 0.9375 MB / 0.7082 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007386/0.5272, allocations: 1.698 MB / 0.7098 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004581/0.5319, allocations: 2.333 MB / 0.7121 GB, free: 8.809 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01051/0.5424, allocations: 4.707 MB / 0.7167 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.559, allocations: 13.19 MB / 0.7296 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.559, allocations: 0 / 0.7296 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.897e-06/0.5591, allocations: 11.98 kB / 0.7296 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005052/0.5596, allocations: 0 / 0.7296 GB, free: 6.844 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.02411/0.5837, allocations: 8.52 MB / 0.7379 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5838, allocations: 9.109 kB / 0.7379 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.5883, allocations: 0.847 MB / 0.7387 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/0.6033, allocations: 6.702 MB / 0.7453 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004038/0.6038, allocations: 460.2 kB / 0.7457 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002161/0.606, allocations: 0.6014 MB / 0.7463 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3144/0.9204, allocations: 9.016 MB / 0.7551 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002207/0.9206, allocations: 25.53 kB / 0.7551 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001399/0.922, allocations: 260 kB / 0.7554 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002401/0.9223, allocations: 176.7 kB / 0.7556 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/0.939, allocations: 7.451 MB / 0.7628 GB, free: 141.3 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.0493/0.9884, allocations: 35.99 MB / 0.798 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005609/0.994, allocations: 4.284 MB / 0.8022 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003975/0.998, allocations: 3.314 MB / 0.8054 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.9991, allocations: 0.9566 MB / 0.8063 GB, free: 102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003544/1.003, allocations: 2.38 MB / 0.8087 GB, free: 99.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002379/1.005, allocations: 375.5 kB / 0.809 GB, free: 99.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 9.919e-06/1.005, allocations: 7.25 kB / 0.809 GB, free: 99.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.01165/1.017, allocations: 7.124 MB / 0.816 GB, free: 92.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/1.017, allocations: 81.91 kB / 0.8161 GB, free: 91.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008919/1.026, allocations: 5.674 MB / 0.8216 GB, free: 86.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007311/1.026, allocations: 85.7 kB / 0.8217 GB, free: 86.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002764/1.029, allocations: 3.192 MB / 0.8248 GB, free: 82.99 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001393/1.031, allocations: 1.126 MB / 0.8259 GB, free: 81.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/1.033, allocations: 0.8503 MB / 0.8267 GB, free: 81.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.11e-05/1.033, allocations: 309 kB / 0.827 GB, free: 80.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003014/1.036, allocations: 2.166 MB / 0.8291 GB, free: 78.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003613/1.039, allocations: 3.695 MB / 0.8327 GB, free: 74.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006832/1.046, allocations: 6.319 MB / 0.8389 GB, free: 67.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.117e-05/1.046, allocations: 12 kB / 0.8389 GB, free: 67.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01365/1.06, allocations: 6.788 MB / 0.8456 GB, free: 60.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.235e-05/1.06, allocations: 53.7 kB / 0.8456 GB, free: 60.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.42e-05/1.06, allocations: 48 kB / 0.8457 GB, free: 60.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/1.061, allocations: 433.5 kB / 0.8461 GB, free: 59.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/1.065, allocations: 1.002 MB / 0.847 GB, free: 58.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005301/1.07, allocations: 5.711 MB / 0.8526 GB, free: 52.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005943/1.076, allocations: 279.5 kB / 0.8529 GB, free: 52.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007082/1.077, allocations: 220 kB / 0.8531 GB, free: 52.32 MB / 0.5762 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.004138/1.081, allocations: 2.479 MB / 0.8555 GB, free: 49.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/1.083, allocations: 0.5248 MB / 0.856 GB, free: 49.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007878/1.09, allocations: 5.269 MB / 0.8612 GB, free: 43.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/1.09, allocations: 32 kB / 0.8612 GB, free: 43.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/1.09, allocations: 7.938 kB / 0.8612 GB, free: 43.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005613/1.096, allocations: 4.533 MB / 0.8656 GB, free: 39.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02071/1.117, allocations: 11.97 MB / 0.8773 GB, free: 27.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/1.117, allocations: 4.125 kB / 0.8773 GB, free: 27.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/1.119, allocations: 0.6397 MB / 0.878 GB, free: 26.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007587/1.12, allocations: 384 kB / 0.8783 GB, free: 26.24 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002583/1.12, allocations: 87.95 kB / 0.8784 GB, free: 26.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004252/1.125, allocations: 5.618 MB / 0.8839 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.125, allocations: 0 / 0.8839 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009786/1.135, allocations: 7.773 MB / 0.8915 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003346/1.138, allocations: 1.158 MB / 0.8926 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/1.139, allocations: 63.94 kB / 0.8927 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003636/1.143, allocations: 194.9 kB / 0.8929 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004152/1.143, allocations: 198.2 kB / 0.8931 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003625/1.144, allocations: 147.9 kB / 0.8932 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00667/1.15, allocations: 3.959 MB / 0.8971 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/1.15, allocations: 0 / 0.8971 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007044/1.157, allocations: 2.013 MB / 0.899 GB, free: 4.688 MB / 0.5762 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.001342/1.159, allocations: 495.3 kB / 0.8995 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007778/1.167, allocations: 5.439 MB / 0.9048 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.167, allocations: 5.812 kB / 0.9048 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003944/1.171, allocations: 2.544 MB / 0.9073 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0163/1.187, allocations: 3.398 MB / 0.9106 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02675/1.214, allocations: 13.88 MB / 0.9242 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006602/1.22, allocations: 4.628 MB / 0.9287 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007463/1.228, allocations: 2.07 MB / 0.9307 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/1.23, allocations: 471.2 kB / 0.9312 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of SimCode: time 8.12e-07/1.23, allocations: 0 / 0.9312 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of Templates: time 0.5063/1.736, allocations: 114.8 MB / 1.043 GB, free: 228.6 MB / 0.6856 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)