Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009148/0.0009148, allocations: 92 kB / 15.06 MB, free: 1.098 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.0009862/0.0009862, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7333/0.7333, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002919, allocations: 8 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.339, allocations: 81.58 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05166/0.3907, allocations: 51.54 MB / 0.6334 GB, free: 12.8 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02141/0.4122, allocations: 16.8 MB / 0.6498 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.4145, allocations: 71.56 kB / 0.6499 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.4167, allocations: 0.6287 MB / 0.6505 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005463/0.4222, allocations: 1.974 MB / 0.6524 GB, free: 9.441 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.4252, allocations: 1.099 MB / 0.6535 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02199/0.4473, allocations: 23.57 MB / 0.6765 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009411/0.4567, allocations: 7.173 MB / 0.6835 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008636/0.4653, allocations: 5.311 MB / 0.6887 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008153/0.4735, allocations: 5.485 MB / 0.6941 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008172/0.4743, allocations: 351.9 kB / 0.6944 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.4774, allocations: 0.784 MB / 0.6952 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.4789, allocations: 1.525 MB / 0.6966 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.4809, allocations: 1.611 MB / 0.6982 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008728/0.4896, allocations: 10.32 MB / 0.7083 GB, free: 4 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4896, allocations: 0 / 0.7083 GB, free: 4 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4896, allocations: 0 / 0.7083 GB, free: 4 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002686/0.4899, allocations: 0 / 0.7083 GB, free: 4 kB / 0.5294 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.0124/0.5023, allocations: 6.963 MB / 0.7151 GB, free: 8.949 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.5024, allocations: 8.031 kB / 0.7151 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.5046, allocations: 0.8577 MB / 0.7159 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009528/0.5141, allocations: 6.463 MB / 0.7223 GB, free: 1.555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/0.5144, allocations: 460.2 kB / 0.7227 GB, free: 1.102 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007913/0.5152, allocations: 0.6014 MB / 0.7233 GB, free: 0.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.5285, allocations: 8.974 MB / 0.732 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.5286, allocations: 15.88 kB / 0.7321 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005688/0.5292, allocations: 260 kB / 0.7323 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001534/0.5293, allocations: 183.9 kB / 0.7325 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.5405, allocations: 7.414 MB / 0.7397 GB, free: 15.33 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.03659/0.5771, allocations: 35.96 MB / 0.7748 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005691/0.5828, allocations: 4.261 MB / 0.779 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004395/0.5873, allocations: 3.398 MB / 0.7823 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.5885, allocations: 0.9778 MB / 0.7833 GB, free: 492 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003499/0.592, allocations: 2.378 MB / 0.7856 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001866/0.5938, allocations: 455.6 kB / 0.786 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 4.829e-06/0.5939, allocations: 0 / 0.786 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01124/0.6051, allocations: 7.086 MB / 0.793 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.6052, allocations: 89.91 kB / 0.793 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006414/0.6116, allocations: 5.428 MB / 0.7983 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.6118, allocations: 85.7 kB / 0.7984 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002545/0.6144, allocations: 3.192 MB / 0.8015 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009541/0.6153, allocations: 1.113 MB / 0.8026 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.6156, allocations: 92 kB / 0.8027 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000245/0.6158, allocations: 491.6 kB / 0.8032 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/0.6189, allocations: 2.148 MB / 0.8053 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003995/0.6229, allocations: 3.67 MB / 0.8089 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003861/0.6268, allocations: 2.892 MB / 0.8117 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-05/0.6268, allocations: 16 kB / 0.8117 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.2548/0.8817, allocations: 6.722 MB / 0.8183 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.323e-05/0.8818, allocations: 54.31 kB / 0.8183 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/0.8818, allocations: 52.09 kB / 0.8184 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009374/0.8828, allocations: 446.6 kB / 0.8188 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/0.8863, allocations: 1.01 MB / 0.8198 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004634/0.8909, allocations: 5.25 MB / 0.8249 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004119/0.8951, allocations: 469.1 kB / 0.8254 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/0.8954, allocations: 215.7 kB / 0.8256 GB, free: 193.5 MB / 0.6387 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00348/0.8989, allocations: 2.489 MB / 0.828 GB, free: 192.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007525/0.8997, allocations: 0.5296 MB / 0.8285 GB, free: 192.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007511/0.9072, allocations: 5.241 MB / 0.8336 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.991e-05/0.9072, allocations: 38.36 kB / 0.8337 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.9072, allocations: 4.406 kB / 0.8337 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005728/0.913, allocations: 4.511 MB / 0.8381 GB, free: 188.5 MB / 0.6387 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.01507/0.9281, allocations: 11.96 MB / 0.8498 GB, free: 182.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.9281, allocations: 0 / 0.8498 GB, free: 182.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00248/0.9306, allocations: 0.6575 MB / 0.8504 GB, free: 182.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006619/0.9312, allocations: 369.8 kB / 0.8507 GB, free: 182.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/0.9314, allocations: 86.09 kB / 0.8508 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003827/0.9353, allocations: 5.168 MB / 0.8559 GB, free: 177.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9353, allocations: 3.5 kB / 0.8559 GB, free: 177.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008507/0.9438, allocations: 7.603 MB / 0.8633 GB, free: 171.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/0.9458, allocations: 1.218 MB / 0.8645 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005974/0.9464, allocations: 71.2 kB / 0.8646 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002941/0.9494, allocations: 473.9 kB / 0.865 GB, free: 169.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002847/0.9497, allocations: 206.1 kB / 0.8652 GB, free: 169.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/0.9499, allocations: 135.9 kB / 0.8653 GB, free: 169.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00406/0.954, allocations: 3.768 MB / 0.869 GB, free: 165.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.954, allocations: 0 / 0.869 GB, free: 165.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004171/0.9582, allocations: 1.988 MB / 0.871 GB, free: 163.8 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007661/0.9589, allocations: 466.1 kB / 0.8714 GB, free: 163.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00601/0.965, allocations: 5.356 MB / 0.8766 GB, free: 158 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.965, allocations: 8 kB / 0.8766 GB, free: 158 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002597/0.9676, allocations: 2.494 MB / 0.8791 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01049/0.9781, allocations: 3.215 MB / 0.8822 GB, free: 152.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.9943, allocations: 16.14 MB / 0.898 GB, free: 136.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/0.9973, allocations: 4.631 MB / 0.9025 GB, free: 131.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005413/1.003, allocations: 1.987 MB / 0.9044 GB, free: 129.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.004, allocations: 459.2 kB / 0.9049 GB, free: 129.1 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/1.004, allocations: 0 / 0.9049 GB, free: 129.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.1315/1.135, allocations: 112 MB / 1.014 GB, free: 18.17 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)