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.00121/0.00121, allocations: 103.8 kB / 16.41 MB, free: 6.453 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.001264/0.001264, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.233/1.233, 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.76/0.76, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.48 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1438, allocations: 80.92 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05594/0.1998, allocations: 55.99 MB / 0.72 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02373/0.2236, allocations: 17.92 MB / 0.7375 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/0.2268, allocations: 75.62 kB / 0.7375 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.2297, allocations: 0.9002 MB / 0.7384 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007278/0.237, allocations: 2.495 MB / 0.7409 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004081/0.2411, allocations: 1.536 MB / 0.7424 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3486/0.5898, allocations: 21.21 MB / 0.7631 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01486/0.6047, allocations: 10.7 MB / 0.7735 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01495/0.6197, allocations: 7.245 MB / 0.7806 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01105/0.6308, allocations: 6.366 MB / 0.7868 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003168/0.634, allocations: 0.9375 MB / 0.7877 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007135/0.6411, allocations: 1.702 MB / 0.7894 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004099/0.6453, allocations: 2.346 MB / 0.7917 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01291/0.6582, allocations: 4.71 MB / 0.7963 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01661/0.6748, allocations: 13.21 MB / 0.8092 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.6749, allocations: 0 / 0.8092 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6749, allocations: 3.938 kB / 0.8092 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004191/0.6753, allocations: 0 / 0.8092 GB, free: 9.82 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.02172/0.697, allocations: 8.517 MB / 0.8175 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.6971, allocations: 15.83 kB / 0.8175 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004241/0.7013, allocations: 0.8548 MB / 0.8184 GB, free: 460 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/0.716, allocations: 6.692 MB / 0.8249 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004633/0.7165, allocations: 463.3 kB / 0.8253 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002082/0.7186, allocations: 0.6014 MB / 0.8259 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02137/0.74, allocations: 9.024 MB / 0.8347 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002594/0.7403, allocations: 28 kB / 0.8348 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001731/0.742, allocations: 259.1 kB / 0.835 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002205/0.7422, allocations: 186.6 kB / 0.8352 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.7573, allocations: 7.446 MB / 0.8425 GB, free: 7.832 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.05099/0.8083, allocations: 35.99 MB / 0.8776 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00659/0.815, allocations: 4.277 MB / 0.8818 GB, free: 14.16 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004838/0.8198, allocations: 3.291 MB / 0.885 GB, free: 10.87 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/0.8212, allocations: 0.9598 MB / 0.8859 GB, free: 9.742 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004293/0.8255, allocations: 2.389 MB / 0.8883 GB, free: 7.32 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002402/0.828, allocations: 375.8 kB / 0.8886 GB, free: 6.949 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 9.378e-06/0.828, allocations: 3.938 kB / 0.8886 GB, free: 6.945 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01439/0.8424, allocations: 7.133 MB / 0.8956 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.8425, allocations: 85.91 kB / 0.8957 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009867/0.8524, allocations: 5.662 MB / 0.9012 GB, free: 10 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0007156/0.8531, allocations: 89.7 kB / 0.9013 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003434/0.8566, allocations: 3.195 MB / 0.9044 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/0.8583, allocations: 1.115 MB / 0.9055 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002277/0.8606, allocations: 0.8619 MB / 0.9063 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.8607, allocations: 305.1 kB / 0.9066 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003504/0.8642, allocations: 2.16 MB / 0.9087 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004518/0.8687, allocations: 3.698 MB / 0.9124 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008647/0.8774, allocations: 6.322 MB / 0.9185 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.014e-05/0.8775, allocations: 17.69 kB / 0.9185 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01256/0.89, allocations: 6.774 MB / 0.9252 GB, free: 480 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-05/0.8901, allocations: 64.34 kB / 0.9252 GB, free: 412 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-05/0.8902, allocations: 48.88 kB / 0.9253 GB, free: 364 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009927/0.8912, allocations: 435.7 kB / 0.9257 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003713/0.8949, allocations: 1.006 MB / 0.9267 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005824/0.9008, allocations: 5.695 MB / 0.9322 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004754/0.9056, allocations: 287.4 kB / 0.9325 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007976/0.9064, allocations: 216 kB / 0.9327 GB, free: 8.469 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.004585/0.911, allocations: 2.479 MB / 0.9351 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001776/0.9128, allocations: 0.5288 MB / 0.9356 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009661/0.9224, allocations: 5.263 MB / 0.9408 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.243e-05/0.9225, allocations: 35.98 kB / 0.9408 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.9225, allocations: 4 kB / 0.9408 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006547/0.9291, allocations: 4.53 MB / 0.9452 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02402/0.9531, allocations: 11.98 MB / 0.9569 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.9532, allocations: 4 kB / 0.9569 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002845/0.956, allocations: 0.6438 MB / 0.9576 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008675/0.9569, allocations: 377.3 kB / 0.9579 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003909/0.9573, allocations: 83.95 kB / 0.958 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00553/0.9629, allocations: 5.618 MB / 0.9635 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9629, allocations: 4 kB / 0.9635 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.9764, allocations: 7.757 MB / 0.9711 GB, free: 0.5586 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004197/0.9806, allocations: 1.154 MB / 0.9722 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001638/0.9823, allocations: 75.91 kB / 0.9723 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004004/0.9863, allocations: 195.3 kB / 0.9725 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006069/0.987, allocations: 206.2 kB / 0.9727 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005229/0.9875, allocations: 139.9 kB / 0.9728 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.007717/0.9952, allocations: 3.963 MB / 0.9767 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9953, allocations: 0 / 0.9767 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00731/1.003, allocations: 2.003 MB / 0.9786 GB, free: 8.828 MB / 0.7637 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.001626/1.004, allocations: 0.491 MB / 0.9791 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.008981/1.013, allocations: 5.441 MB / 0.9844 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.013, allocations: 8.062 kB / 0.9844 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004017/1.017, allocations: 2.533 MB / 0.9869 GB, free: 300 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01654/1.034, allocations: 3.388 MB / 0.9902 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02441/1.058, allocations: 13.94 MB / 1.004 GB, free: 15.04 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004054/1.062, allocations: 4.557 MB / 1.008 GB, free: 10.45 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/1.064, allocations: 487.3 kB / 1.009 GB, free: 9.969 MB / 0.795 GB Notification: Performance of SimCode: time 1.252e-06/1.064, allocations: 4 kB / 1.009 GB, free: 9.965 MB / 0.795 GB Notification: Performance of Templates: time 0.4742/1.539, allocations: 188.9 MB / 1.193 GB, free: 212.1 MB / 0.8419 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)