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.001509/0.001508, allocations: 103.9 kB / 16.27 MB, free: 5.98 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.001575/0.001575, allocations: 187.7 kB / 17.2 MB, free: 5.605 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8264/0.8264, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 59.91 kB / 0.506 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3666, allocations: 80.92 MB / 0.585 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04957/0.4162, allocations: 55.98 MB / 0.6397 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02566/0.442, allocations: 17.93 MB / 0.6572 GB, free: 476 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/0.4453, allocations: 87.5 kB / 0.6573 GB, free: 388 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003082/0.4485, allocations: 0.9003 MB / 0.6582 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007984/0.4565, allocations: 2.491 MB / 0.6606 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.4608, allocations: 1.518 MB / 0.6621 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02282/0.4837, allocations: 21.2 MB / 0.6828 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01532/0.499, allocations: 10.7 MB / 0.6933 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01778/0.5168, allocations: 7.154 MB / 0.7002 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01315/0.53, allocations: 6.378 MB / 0.7065 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.003921/0.534, allocations: 0.9375 MB / 0.7074 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007591/0.5416, allocations: 1.698 MB / 0.709 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005119/0.5468, allocations: 2.341 MB / 0.7113 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01183/0.5587, allocations: 4.711 MB / 0.7159 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.5777, allocations: 13.04 MB / 0.7287 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.5778, allocations: 0 / 0.7287 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5778, allocations: 3.938 kB / 0.7287 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004729/0.5783, allocations: 0 / 0.7287 GB, free: 7.051 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.02396/0.6022, allocations: 8.526 MB / 0.737 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.6023, allocations: 13.11 kB / 0.737 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/0.6069, allocations: 0.8509 MB / 0.7378 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01367/0.6206, allocations: 6.431 MB / 0.7441 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005074/0.6212, allocations: 456.2 kB / 0.7446 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/0.6236, allocations: 0.5936 MB / 0.7451 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5772/1.201, allocations: 9.027 MB / 0.7539 GB, free: 144.3 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/1.201, allocations: 22.5 kB / 0.754 GB, free: 144.3 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006928/1.202, allocations: 259.3 kB / 0.7542 GB, free: 144.1 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/1.202, allocations: 183.5 kB / 0.7544 GB, free: 144.1 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/1.219, allocations: 7.445 MB / 0.7617 GB, free: 141 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.04848/1.268, allocations: 36.24 MB / 0.7971 GB, free: 111.1 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006066/1.274, allocations: 4.287 MB / 0.8012 GB, free: 106.8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004297/1.278, allocations: 3.309 MB / 0.8045 GB, free: 103.5 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/1.279, allocations: 0.9567 MB / 0.8054 GB, free: 102.4 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003803/1.283, allocations: 2.388 MB / 0.8077 GB, free: 99.98 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002532/1.286, allocations: 375.6 kB / 0.8081 GB, free: 99.62 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=317): time 1.279e-05/1.286, allocations: 0 / 0.8081 GB, free: 99.62 MB / 0.5763 GB Notification: Performance of matching and sorting (n=317): time 0.01252/1.298, allocations: 7.131 MB / 0.8151 GB, free: 92.44 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/1.298, allocations: 85.91 kB / 0.8151 GB, free: 92.34 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009736/1.308, allocations: 5.666 MB / 0.8207 GB, free: 86.7 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008141/1.309, allocations: 89.7 kB / 0.8208 GB, free: 86.6 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002872/1.312, allocations: 3.192 MB / 0.8239 GB, free: 83.39 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001475/1.313, allocations: 1.122 MB / 0.825 GB, free: 82.28 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002281/1.316, allocations: 0.8531 MB / 0.8258 GB, free: 81.42 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.647e-05/1.316, allocations: 309.1 kB / 0.8261 GB, free: 81.11 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/1.319, allocations: 2.163 MB / 0.8282 GB, free: 78.94 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003896/1.323, allocations: 3.697 MB / 0.8318 GB, free: 74.54 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007343/1.33, allocations: 6.323 MB / 0.838 GB, free: 67.5 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.624e-05/1.33, allocations: 16 kB / 0.838 GB, free: 67.49 MB / 0.5763 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01202/1.342, allocations: 6.78 MB / 0.8446 GB, free: 60.66 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.668e-05/1.342, allocations: 49.7 kB / 0.8447 GB, free: 60.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.243e-05/1.343, allocations: 52.08 kB / 0.8447 GB, free: 60.55 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009474/1.343, allocations: 441.3 kB / 0.8452 GB, free: 60.11 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/1.347, allocations: 0.9983 MB / 0.8461 GB, free: 59.11 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/1.352, allocations: 5.705 MB / 0.8517 GB, free: 53.14 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005627/1.358, allocations: 287.5 kB / 0.852 GB, free: 52.86 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009616/1.359, allocations: 220 kB / 0.8522 GB, free: 52.64 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.004846/1.363, allocations: 2.475 MB / 0.8546 GB, free: 50.15 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002031/1.366, allocations: 0.5287 MB / 0.8551 GB, free: 49.62 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009552/1.375, allocations: 5.268 MB / 0.8603 GB, free: 44.3 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/1.375, allocations: 28 kB / 0.8603 GB, free: 44.28 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.029e-05/1.375, allocations: 4 kB / 0.8603 GB, free: 44.27 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005891/1.381, allocations: 4.537 MB / 0.8647 GB, free: 39.63 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.403, allocations: 12.04 MB / 0.8765 GB, free: 27.47 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.403, allocations: 3.938 kB / 0.8765 GB, free: 27.47 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/1.406, allocations: 0.6438 MB / 0.8771 GB, free: 26.82 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007806/1.407, allocations: 378.2 kB / 0.8775 GB, free: 26.45 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003952/1.407, allocations: 79.95 kB / 0.8776 GB, free: 26.37 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004342/1.412, allocations: 5.628 MB / 0.8831 GB, free: 20.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.412, allocations: 0 / 0.8831 GB, free: 20.48 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/1.423, allocations: 7.765 MB / 0.8906 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003235/1.426, allocations: 1.154 MB / 0.8918 GB, free: 11.44 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001573/1.427, allocations: 67.92 kB / 0.8918 GB, free: 11.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003806/1.431, allocations: 195.5 kB / 0.892 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004596/1.432, allocations: 202.2 kB / 0.8922 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000392/1.432, allocations: 143.9 kB / 0.8923 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007088/1.439, allocations: 3.959 MB / 0.8962 GB, free: 6.906 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.51e-07/1.439, allocations: 0 / 0.8962 GB, free: 6.906 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008018/1.447, allocations: 2.009 MB / 0.8982 GB, free: 4.91 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.001697/1.449, allocations: 499.7 kB / 0.8986 GB, free: 4.445 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02211/1.471, allocations: 11.63 MB / 0.91 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.471, allocations: 0 / 0.91 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004911/1.476, allocations: 2.536 MB / 0.9125 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01866/1.495, allocations: 3.41 MB / 0.9158 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03269/1.528, allocations: 14.08 MB / 0.9296 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005932/1.533, allocations: 4.553 MB / 0.934 GB, free: 280 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/1.536, allocations: 495.3 kB / 0.9345 GB, free: 15.79 MB / 0.6232 GB Notification: Performance of SimCode: time 1.102e-06/1.536, allocations: 0 / 0.9345 GB, free: 15.79 MB / 0.6232 GB Notification: Performance of Templates: time 0.4999/2.036, allocations: 187.3 MB / 1.117 GB, free: 138.6 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)