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.001179/0.001179, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001343/0.001343, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9546/0.9546, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 64.7 kB / 0.5048 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1894, allocations: 80.94 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4094/0.5988, allocations: 55.51 MB / 0.6381 GB, free: 21.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02517/0.624, allocations: 17.76 MB / 0.6554 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003742/0.6278, allocations: 68.25 kB / 0.6555 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.6309, allocations: 0.7622 MB / 0.6562 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008356/0.6393, allocations: 2.326 MB / 0.6585 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004402/0.6437, allocations: 1.396 MB / 0.6599 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02598/0.6697, allocations: 21.31 MB / 0.6807 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01708/0.6868, allocations: 10.61 MB / 0.691 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01953/0.7064, allocations: 7.246 MB / 0.6981 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01524/0.7216, allocations: 6.551 MB / 0.7045 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00405/0.7257, allocations: 0.9297 MB / 0.7054 GB, free: 156 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00958/0.7353, allocations: 1.703 MB / 0.7071 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00591/0.7413, allocations: 2.326 MB / 0.7094 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01491/0.7562, allocations: 4.695 MB / 0.7139 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.02185/0.7781, allocations: 13.02 MB / 0.7267 GB, free: 11.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.7782, allocations: 0 / 0.7267 GB, free: 11.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7782, allocations: 0 / 0.7267 GB, free: 11.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0006215/0.7788, allocations: 0 / 0.7267 GB, free: 11.17 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.02525/0.8041, allocations: 8.503 MB / 0.735 GB, free: 2.574 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.8041, allocations: 8.031 kB / 0.735 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00454/0.8087, allocations: 0.8626 MB / 0.7358 GB, free: 1.695 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/0.8233, allocations: 6.617 MB / 0.7423 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005266/0.8239, allocations: 460.2 kB / 0.7427 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002456/0.8264, allocations: 0.5975 MB / 0.7433 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/0.8511, allocations: 9.023 MB / 0.7521 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003019/0.8514, allocations: 27.78 kB / 0.7521 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001931/0.8534, allocations: 256 kB / 0.7524 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000236/0.8536, allocations: 183.9 kB / 0.7526 GB, free: 172 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/0.8721, allocations: 7.445 MB / 0.7598 GB, free: 8.711 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.06231/0.9345, allocations: 35.9 MB / 0.7949 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007751/0.9423, allocations: 4.28 MB / 0.7991 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005373/0.9477, allocations: 3.318 MB / 0.8023 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.9491, allocations: 0.9466 MB / 0.8032 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004742/0.9538, allocations: 2.394 MB / 0.8056 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003523/0.9574, allocations: 415.8 kB / 0.806 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.286e-05/0.9574, allocations: 4 kB / 0.806 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01543/0.9729, allocations: 7.128 MB / 0.8129 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.973, allocations: 89.89 kB / 0.813 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01259/0.9856, allocations: 5.459 MB / 0.8183 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/0.9866, allocations: 89.7 kB / 0.8184 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004449/0.9911, allocations: 3.192 MB / 0.8215 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002167/0.9933, allocations: 1.121 MB / 0.8226 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002945/0.9963, allocations: 0.8541 MB / 0.8235 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.9964, allocations: 305.1 kB / 0.8238 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004359/1.001, allocations: 2.167 MB / 0.8259 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005753/1.007, allocations: 3.693 MB / 0.8295 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/1.017, allocations: 6.323 MB / 0.8357 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.812e-05/1.017, allocations: 12 kB / 0.8357 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01421/1.031, allocations: 6.78 MB / 0.8423 GB, free: 356 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-05/1.031, allocations: 51.89 kB / 0.8423 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-05/1.031, allocations: 48 kB / 0.8424 GB, free: 252 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/1.032, allocations: 435.3 kB / 0.8428 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/1.037, allocations: 1.014 MB / 0.8438 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006903/1.044, allocations: 5.694 MB / 0.8494 GB, free: 8.828 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007383/1.051, allocations: 466.8 kB / 0.8498 GB, free: 8.371 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001689/1.053, allocations: 220 kB / 0.85 GB, free: 8.156 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.007924/1.061, allocations: 2.487 MB / 0.8524 GB, free: 5.656 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002691/1.063, allocations: 0.5249 MB / 0.853 GB, free: 5.125 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6124/1.676, allocations: 5.269 MB / 0.8581 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.52e-05/1.676, allocations: 31.77 kB / 0.8581 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.676, allocations: 5.719 kB / 0.8581 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006218/1.682, allocations: 4.536 MB / 0.8626 GB, free: 199.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02282/1.705, allocations: 11.95 MB / 0.8742 GB, free: 195.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.705, allocations: 0 / 0.8742 GB, free: 195.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/1.708, allocations: 0.6453 MB / 0.8749 GB, free: 195.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000764/1.708, allocations: 374.6 kB / 0.8752 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/1.709, allocations: 88.81 kB / 0.8753 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004461/1.713, allocations: 5.602 MB / 0.8808 GB, free: 191.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.713, allocations: 7.844 kB / 0.8808 GB, free: 191.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.725, allocations: 7.755 MB / 0.8884 GB, free: 188.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003856/1.729, allocations: 1.144 MB / 0.8895 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/1.73, allocations: 64.83 kB / 0.8895 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00486/1.735, allocations: 455.2 kB / 0.89 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005633/1.736, allocations: 203.8 kB / 0.8902 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004026/1.736, allocations: 144.6 kB / 0.8903 GB, free: 187.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008309/1.744, allocations: 3.802 MB / 0.894 GB, free: 186.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.82e-07/1.744, allocations: 1.062 kB / 0.894 GB, free: 186.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009222/1.754, allocations: 2 MB / 0.896 GB, free: 186.2 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.001844/1.755, allocations: 486.3 kB / 0.8964 GB, free: 186.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02411/1.78, allocations: 11.63 MB / 0.9078 GB, free: 184 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/1.78, allocations: 2.562 kB / 0.9078 GB, free: 184 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004686/1.784, allocations: 2.54 MB / 0.9103 GB, free: 183 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01952/1.804, allocations: 3.404 MB / 0.9136 GB, free: 182.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02667/1.831, allocations: 16.59 MB / 0.9298 GB, free: 173.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005895/1.837, allocations: 4.633 MB / 0.9343 GB, free: 171.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007862/1.844, allocations: 2.039 MB / 0.9363 GB, free: 170.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/1.847, allocations: 461.9 kB / 0.9368 GB, free: 170.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.142e-06/1.847, allocations: 0 / 0.9368 GB, free: 170.2 MB / 0.67 GB Notification: Performance of Templates: time 0.1592/2.006, allocations: 119.7 MB / 1.054 GB, free: 53.8 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)