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.001072/0.001072, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.009395/0.009395, allocations: 174.1 kB / 16.26 MB, free: 6.336 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.594/1.594, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9597/0.9597, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004083, allocations: 8 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1994, allocations: 82.29 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4709/0.6704, allocations: 54.52 MB / 0.6412 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01942/0.6899, allocations: 17.71 MB / 0.6585 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/0.693, allocations: 66.75 kB / 0.6586 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.6952, allocations: 0.7203 MB / 0.6593 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006513/0.7018, allocations: 2.315 MB / 0.6615 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.7052, allocations: 1.389 MB / 0.6629 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.03034/0.7356, allocations: 27.77 MB / 0.69 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01474/0.7504, allocations: 8.455 MB / 0.6983 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01665/0.7671, allocations: 5.213 MB / 0.7033 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01372/0.7808, allocations: 5.801 MB / 0.709 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001977/0.7828, allocations: 352 kB / 0.7093 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006166/0.789, allocations: 1.03 MB / 0.7104 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002865/0.7919, allocations: 1.591 MB / 0.7119 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.008472/0.8004, allocations: 3.889 MB / 0.7157 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01588/0.8163, allocations: 12.3 MB / 0.7277 GB, free: 12.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.8163, allocations: 3.938 kB / 0.7277 GB, free: 12.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.895e-06/0.8164, allocations: 0 / 0.7277 GB, free: 12.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004754/0.8168, allocations: 4 kB / 0.7277 GB, free: 12.98 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.01744/0.8343, allocations: 6.88 MB / 0.7344 GB, free: 6.008 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.8344, allocations: 12.03 kB / 0.7345 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/0.8392, allocations: 0.8547 MB / 0.7353 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/0.8528, allocations: 6.612 MB / 0.7417 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000422/0.8533, allocations: 472 kB / 0.7422 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.8551, allocations: 0.5937 MB / 0.7428 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/0.8751, allocations: 9.035 MB / 0.7516 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.8753, allocations: 19.88 kB / 0.7516 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008891/0.8762, allocations: 260 kB / 0.7519 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001745/0.8764, allocations: 179.9 kB / 0.752 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01658/0.893, allocations: 7.457 MB / 0.7593 GB, free: 12.14 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.05768/0.9507, allocations: 35.98 MB / 0.7945 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007381/0.9581, allocations: 4.296 MB / 0.7987 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00534/0.9635, allocations: 3.334 MB / 0.8019 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.965, allocations: 0.9856 MB / 0.8029 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00446/0.9695, allocations: 2.398 MB / 0.8052 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003325/0.9728, allocations: 447.8 kB / 0.8056 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 9.898e-06/0.9728, allocations: 0 / 0.8056 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01355/0.9864, allocations: 7.14 MB / 0.8126 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.9865, allocations: 85.91 kB / 0.8127 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009247/0.9958, allocations: 5.463 MB / 0.818 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008458/0.9966, allocations: 93.69 kB / 0.8181 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003297/0.9999, allocations: 3.188 MB / 0.8212 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001794/1.002, allocations: 1.117 MB / 0.8223 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005309/1.002, allocations: 367.3 kB / 0.8227 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.002, allocations: 305.1 kB / 0.823 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003508/1.006, allocations: 2.16 MB / 0.8251 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004527/1.01, allocations: 3.689 MB / 0.8287 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008562/1.019, allocations: 6.307 MB / 0.8348 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-05/1.019, allocations: 16 kB / 0.8349 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01219/1.031, allocations: 6.764 MB / 0.8415 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.031, allocations: 49.7 kB / 0.8415 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/1.032, allocations: 48 kB / 0.8416 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/1.033, allocations: 445.3 kB / 0.842 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004035/1.037, allocations: 1.014 MB / 0.843 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006023/1.043, allocations: 5.263 MB / 0.8481 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006584/1.049, allocations: 466.8 kB / 0.8485 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009312/1.05, allocations: 220 kB / 0.8488 GB, free: 12.35 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.006036/1.056, allocations: 2.475 MB / 0.8512 GB, free: 9.863 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002046/1.059, allocations: 0.5249 MB / 0.8517 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009426/1.068, allocations: 5.258 MB / 0.8568 GB, free: 4.027 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.304e-05/1.068, allocations: 32 kB / 0.8569 GB, free: 3.996 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/1.068, allocations: 11.88 kB / 0.8569 GB, free: 3.984 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3882/1.456, allocations: 4.529 MB / 0.8613 GB, free: 197.4 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.0246/1.481, allocations: 11.98 MB / 0.873 GB, free: 195.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/1.481, allocations: 2.312 kB / 0.873 GB, free: 195.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/1.484, allocations: 0.6493 MB / 0.8736 GB, free: 195.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008197/1.484, allocations: 376.4 kB / 0.874 GB, free: 195 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002966/1.485, allocations: 84.06 kB / 0.8741 GB, free: 194.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004513/1.489, allocations: 5.178 MB / 0.8791 GB, free: 191.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.489, allocations: 3 kB / 0.8791 GB, free: 191.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/1.5, allocations: 7.631 MB / 0.8866 GB, free: 188.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003698/1.504, allocations: 1.21 MB / 0.8878 GB, free: 188 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/1.506, allocations: 71.75 kB / 0.8878 GB, free: 188 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004809/1.51, allocations: 472.9 kB / 0.8883 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005651/1.511, allocations: 203.5 kB / 0.8885 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003636/1.511, allocations: 139.4 kB / 0.8886 GB, free: 187.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007108/1.518, allocations: 3.814 MB / 0.8923 GB, free: 186.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.054e-06/1.518, allocations: 1.062 kB / 0.8923 GB, free: 186.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009053/1.528, allocations: 1.987 MB / 0.8943 GB, free: 186.3 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.001776/1.529, allocations: 483 kB / 0.8947 GB, free: 186.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009731/1.539, allocations: 5.387 MB / 0.9 GB, free: 184.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/1.539, allocations: 3.562 kB / 0.9 GB, free: 184.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004767/1.544, allocations: 2.512 MB / 0.9024 GB, free: 183.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02064/1.565, allocations: 3.232 MB / 0.9056 GB, free: 182.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03236/1.597, allocations: 16.67 MB / 0.9219 GB, free: 173.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008001/1.605, allocations: 4.636 MB / 0.9264 GB, free: 172.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.01078/1.616, allocations: 1.983 MB / 0.9284 GB, free: 171.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002982/1.619, allocations: 459.8 kB / 0.9288 GB, free: 171.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.212e-06/1.619, allocations: 4 kB / 0.9288 GB, free: 171.8 MB / 0.67 GB Notification: Performance of Templates: time 0.1674/1.786, allocations: 114.9 MB / 1.041 GB, free: 67.57 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)